SignalingSessionSettings.Impersonate(String, String) Method

Definition

Changes the URI and display name used to represent the local endpoint.

public:
 void Impersonate(System::String ^ localOwnerUri, System::String ^ localOwnerDisplayName);
public void Impersonate (string localOwnerUri, string localOwnerDisplayName);
member this.Impersonate : string * string -> unit
Public Sub Impersonate (localOwnerUri As String, localOwnerDisplayName As String)

Parameters

localOwnerUri
String

The URI to used represent the local endpoint.

localOwnerDisplayName
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

The URI is not in a supported format.

Applies to