다음을 통해 공유


ServiceSpecificException Constructors

Definition

Overloads

ServiceSpecificException()

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException(String)

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException(Uri)

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException(String, Boolean)

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException(String, Exception)

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException(Uri, String)

Initializes a new instance of the ServiceSpecificException class.

ServiceSpecificException()

Initializes a new instance of the ServiceSpecificException class.

public ServiceSpecificException ();
Public Sub New ()

Applies to

ServiceSpecificException(String)

Initializes a new instance of the ServiceSpecificException class.

public ServiceSpecificException (string message);
new Microsoft.Media.Drm.ServiceSpecificException : string -> Microsoft.Media.Drm.ServiceSpecificException
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

ServiceSpecificException(Uri)

Initializes a new instance of the ServiceSpecificException class.

public ServiceSpecificException (Uri url);
new Microsoft.Media.Drm.ServiceSpecificException : Uri -> Microsoft.Media.Drm.ServiceSpecificException
Public Sub New (url As Uri)

Parameters

url
Uri

The Uri that the client should show to the user to explain the service specific error.

Applies to

ServiceSpecificException(String, Boolean)

Initializes a new instance of the ServiceSpecificException class.

public ServiceSpecificException (string message, bool logException);
new Microsoft.Media.Drm.ServiceSpecificException : string * bool -> Microsoft.Media.Drm.ServiceSpecificException
Public Sub New (message As String, logException As Boolean)

Parameters

message
String

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

logException
Boolean

Indicates whether this exception will be logged by the PlayReady Server SDK or not.

Applies to

ServiceSpecificException(String, Exception)

Initializes a new instance of the ServiceSpecificException class.

public ServiceSpecificException (string message, Exception inner);
new Microsoft.Media.Drm.ServiceSpecificException : string * Exception -> Microsoft.Media.Drm.ServiceSpecificException
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

ServiceSpecificException(Uri, String)

Initializes a new instance of the ServiceSpecificException class.

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

Parameters

url
Uri

The Uri that the client should show to the user to explain the service specific error.

customData
String

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

Applies to