Sets the local identity URI and display name
for the message.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
SetLocalIdentity ( _
uri
As
String, _
displayName
As
String _
)
|
C# |
public
void
SetLocalIdentity(
string
uri,
string
displayName
)
|
Visual C++ |
public:
void
SetLocalIdentity(
String^
uri,
String^
displayName
)
|
JavaScript |
function
setLocalIdentity(
uri,
displayName);
|
Parameters
-
uri
- Type:
String
The URI that represents the local identity.
-
displayName
- Type:
String
The displayName that represents the local identity. Can be
null.
Exceptions
Exception |
Condition |
ArgumentException
|
Thrown when string passed for the uri parameter is not a valid
URI string. |
ArgumentException
|
Thrown when uri parameter is null or empty string but
displayName is a non-empty string. |
See Also