SignalingSessionSettings.Impersonate(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.