RemotePresenceView Constructor (LocalEndpoint, RemotePresenceViewSettings)
Creates an instance of the RemotePresenceView class.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
endpoint As LocalEndpoint, _
settings As RemotePresenceViewSettings _
)
'Usage
Dim endpoint As LocalEndpoint
Dim settings As RemotePresenceViewSettings
Dim instance As New RemotePresenceView(endpoint, _
settings)
public RemotePresenceView(
LocalEndpoint endpoint,
RemotePresenceViewSettings settings
)
Parameters
- endpoint
Type: Microsoft.Rtc.Collaboration.LocalEndpoint
The endpoint to which this RemotePresenceView belongs.
- settings
Type: Microsoft.Rtc.Collaboration.Presence.RemotePresenceViewSettings
The settings to use to initialize this RemotePresenceView.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when endpoint or settings is null. |
InvalidOperationException | Thrown when endpoint is not established. |