Edit

Share via


SendMessageOptions.SetLocalIdentity(String, String) Method

Definition

Sets the value of local identitiy URI for the message to be used in the From header.

public:
 void SetLocalIdentity(System::String ^ uri, System::String ^ displayName);
public void SetLocalIdentity (string uri, string displayName);
member this.SetLocalIdentity : string * string -> unit
Public Sub SetLocalIdentity (uri As String, displayName As String)

Parameters

uri
String

URI representing the local identity.

displayName
String

DisplayName for local Identity. Can be null.

Exceptions

Thrown when an empty string is passed for uri, but displayName is non-empty.

Applies to