Synchronously transfers the current session to
a different real-time address. This method will wait until the
transfer is completed. It is not recommended for a UI thread.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
JavaScript |
function
refer(
referTarget,
referStatus);
|
Return Value
The response data received
for the refer request.
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the session is in an invalid state to send a Refer
request. |
ArgumentException
|
Thrown when invalid arguments are passed. |
ArgumentNullException
|
Thrown when arguments are null. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Thrown when the server or remote participant returns an error.
The response code in the exception should give more
information. |
Microsoft.Rtc.Signaling
.
.
::
.
RealTimeException
|
Encompasses an SIP error or failure cases encountered while
trying to enter the session - SIP Transport error, SIP
Authentication and credential-related errors. |
See Also