Interface IScope2
Namespace: Umbraco.Core.Scoping
Assembly: Umbraco.Core.dll
Syntax
public interface IScope2 : IScope, IDisposable, IInstanceIdentifiable
Methods
View SourceReadLock(TimeSpan, Int32)
Read-locks some lock objects.
Declaration
void ReadLock(TimeSpan timeout, int lockId)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | timeout | The database timeout in milliseconds |
System.Int32 | lockId | The lock object identifier. |
WriteLock(TimeSpan, Int32)
Write-locks some lock objects.
Declaration
void WriteLock(TimeSpan timeout, int lockId)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | timeout | The database timeout in milliseconds |
System.Int32 | lockId | The lock object identifier. |