Waits for the pending setState operation to
complete.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
MustOverride
Sub
EndSetState ( _
result
As
IAsyncResult _
)
|
C# |
public
abstract
void
EndSetState(
IAsyncResult
result
)
|
Visual C++ |
public:
virtual
void
EndSetState(
IAsyncResult^
result
)
abstract
|
JavaScript |
function
endSetState(
result);
|
Parameters
-
result
- Type:
IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when EndSetState is called multiple times using the same
asyncResult. |
ArgumentException
|
Thrown when invalid asyncResult are passed(may be an
asyncResult created from someother operation other than
BeginSetState). |
ArgumentNullException
|
Thrown when a non-null is expected for an argument. The
argument name for which a non-null is expected is part of the
exception message |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Encompasses SIP error or failure cases encountered while trying
to set refer state - SIP Transport error, SIP Authentication and
credential related erros. |
See Also