Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the AgentIdentity class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
uri As String, _
phoneUri As String, _
displayName As String _
)
'Usage
Dim uri As String
Dim phoneUri As String
Dim displayName As String
Dim instance As New AgentIdentity(uri, phoneUri, _
displayName)
public AgentIdentity(
string uri,
string phoneUri,
string displayName
)
Parameters
- uri
Type: System.String
The agent's URI
- phoneUri
Type: System.String
The agent's phone URI
- displayName
Type: System.String
The agent's display name
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when uri is null |
| ArgumentException | Thrown when uri is and empty string |