SignalingSessionSettings.Impersonate Method
Changes the URI and display name used to represent the local endpoint.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Impersonate ( _
localOwnerUri As String, _
localOwnerDisplayName As String _
)
'Usage
Dim instance As SignalingSessionSettings
Dim localOwnerUri As String
Dim localOwnerDisplayName As String
instance.Impersonate(localOwnerUri, localOwnerDisplayName)
public void Impersonate(
string localOwnerUri,
string localOwnerDisplayName
)
Parameters
- localOwnerUri
Type: System.String
The URI to used represent the local endpoint.
- localOwnerDisplayName
Type: System.String
The display name used to represent the local endpoint. If NULL the display name configured on the endpoint will be used. If String.Empty, an empty display name will be used.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The URI is not in a supported format. |
See Also
Reference
SignalingSessionSettings Class