SendMessageOptions.SetLocalIdentity(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.
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.