Partager via


ClientLimitReachedException Constructors

Definition

Overloads

ClientLimitReachedException()

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(String)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(String, CertificateType)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(String, Exception)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(Uri, CertificateType)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(String, CertificateType, String)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException(Uri, CertificateType, String)

Initializes a new instance of the ClientLimitReachedException class.

ClientLimitReachedException()

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException ();
Public Sub New ()

Applies to

ClientLimitReachedException(String)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (string message);
new Microsoft.Media.Drm.ClientLimitReachedException : string -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (message As String)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

Applies to

ClientLimitReachedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ClientLimitReachedException class.

protected ClientLimitReachedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Media.Drm.ClientLimitReachedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Media.Drm.ClientLimitReachedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

ClientLimitReachedException(String, CertificateType)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (string url, Microsoft.Media.Drm.CertificateType clientType);
new Microsoft.Media.Drm.ClientLimitReachedException : string * Microsoft.Media.Drm.CertificateType -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (url As String, clientType As CertificateType)

Parameters

url
String

The url that the client should show to the user to help explain the client limit and perhaps to fix the issue by removing a client through offline unregistration.

clientType
CertificateType

The type of the client that was attempting to join the domain. This should be set so that the client knows the type of limit hit which could be confusing in certain scenarios where both a computer and a device are being used.

Applies to

ClientLimitReachedException(String, Exception)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (string message, Exception inner);
new Microsoft.Media.Drm.ClientLimitReachedException : string * Exception -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

Text message associated with this exception. Note that the message is not sent back to the client.

inner
Exception

The exception that is the cause of the current exception. If this parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to

ClientLimitReachedException(Uri, CertificateType)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (Uri url, Microsoft.Media.Drm.CertificateType clientType);
new Microsoft.Media.Drm.ClientLimitReachedException : Uri * Microsoft.Media.Drm.CertificateType -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (url As Uri, clientType As CertificateType)

Parameters

url
Uri

The Uri that the client should show to the user to help explain the client limit and perhaps to fix the issue by removing a client through offline unregistration.

clientType
CertificateType

The type of the client that was attempting to join the domain. This should be set so that the client knows the type of limit hit which could be confusing in certain scenarios where both a computer and a device are being used.

Applies to

ClientLimitReachedException(String, CertificateType, String)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (string url, Microsoft.Media.Drm.CertificateType clientType, string customData);
new Microsoft.Media.Drm.ClientLimitReachedException : string * Microsoft.Media.Drm.CertificateType * string -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (url As String, clientType As CertificateType, customData As String)

Parameters

url
String

The url that the client should show to the user to help explain the client limit and perhaps to fix the issue by removing a client through offline unregistration.

clientType
CertificateType

The type of the client that was attempting to join the domain. This should be set so that the client knows the type of limit hit which could be confusing in certain scenarios where both a computer and a device are being used.

customData
String

Service specific data that should be returned to the client along with the exception.

Applies to

ClientLimitReachedException(Uri, CertificateType, String)

Initializes a new instance of the ClientLimitReachedException class.

public ClientLimitReachedException (Uri url, Microsoft.Media.Drm.CertificateType clientType, string customData);
new Microsoft.Media.Drm.ClientLimitReachedException : Uri * Microsoft.Media.Drm.CertificateType * string -> Microsoft.Media.Drm.ClientLimitReachedException
Public Sub New (url As Uri, clientType As CertificateType, customData As String)

Parameters

url
Uri

The Uri that the client should show to the user to help explain the client limit and perhaps to fix the issue by removing a client through offline unregistration.

clientType
CertificateType

The type of the client that was attempting to join the domain. This should be set so that the client knows the type of limit hit which could be confusing in certain scenarios where both a computer and a device are being used.

customData
String

Service specific data that should be returned to the client along with the exception.

Applies to