EndSetState Method
Waits for the pending [setState] operation to complete.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Sub EndSetState ( _
result As IAsyncResult _
)
'Usage
Dim instance As ReferNotifier
Dim result As IAsyncResult
instance.EndSetState(result)
public abstract void EndSetState(
IAsyncResult result
)
Parameters
- result
Type: System..::..IAsyncResult
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when a non-nullNothingnullptrunita null reference (Nothing in Visual Basic) is expected for an argument. The argument name for which a non-nullNothingnullptrunita null reference (Nothing in Visual Basic) is expected is part of the exception message. |
RealTimeException | Encompasses SIP error or failure cases encountered while trying to set refer state - SIP Transport error, SIP Authentication, and credential-related errors. |
ArgumentException | Thrown when invalid [asyncResult] are passed (can be an [asyncResult] created from some other operation other than [BeginSetState]). |
InvalidOperationException | Thrown when [EndSetState] is called multiple times using the same [asyncResult]. |