'Declaration
Public Function Scope() As System.IDisposable
public System.IDisposable Scope()
Return Value
An instance of an System.IDisposable that will close the scope when its System.IDisposable.Dispose method is called.
'Declaration
Public Function Scope() As System.IDisposable
public System.IDisposable Scope()
Exception | Description |
---|---|
System.InvalidOperationException | The ClientTransaction.State is not C1.LiveLinq.TransactionState.Open. |
The transaction tracks changes only when they are made inside an open scope.
Calling System.IDisposable.Dispose on the return value closes the scope.