Share via


DrmNoRightsException.DrmNoRightsException Constructor

Initializes an instance of the DrmNoRightsException class.

Overload List

public DrmNoRightsException()
public DrmNoRightsException(string)
public DrmNoRightsException(string, Exception)
protected DrmNoRightsException(SerializationInfo, StreamingContext)

Initializes an instance of the DrmNoRightsException class.

Syntax

public DrmNoRightsException();

DrmNoRightsException.DrmNoRightsException Constructor

Initializes an instance of the DrmNoRightsException class.

Syntax

public DrmNoRightsException(
   string message
);

Parameters

message

System.String.  A description of the exception.

DrmNoRightsException.DrmNoRightsException Constructor

Initializes an instance of the DrmNoRightsException class.

Syntax

public DrmNoRightsException(
   string message,
   Exception inner
);

Parameters

message

System.String.  A description of the exception.

inner

System.Exception.  The class on which this exception is based.

DrmNoRightsException.DrmNoRightsException Constructor

Initializes an instance of the DrmNoRightsException class.

Syntax

protected DrmNoRightsException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info

System.Runtime.Serialization.SerializationInfo.  An instance of the class containing the information needed to serialize the new DrmNoRightsException instance.

context

System.Runtime.Serialization.StreamingContext. A structure that contains contextual information about the source of the serialized stream associated with the new DrmNoRightsException instance.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.ListMaker

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also