MediaChangerException Constructor

Initializes an instance of the MediaChangerException class.

Overload List

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

MediaChangerException.MediaChangerException Constructor

Initializes an instance of the MediaChangerException class.

Syntax

public MediaChangerException(
);

MediaChangerException.MediaChangerException Constructor

Initializes an instance of the MediaChangerException class.

Syntax

public MediaChangerException(
  string  message
);

Parameters

message

System.String.  A description of the exception.

MediaChangerException.MediaChangerException Constructor

Initializes an instance of the MediaChangerException class.

Syntax

public MediaChangerException(
  string  message,
  Exception  innerException
);

Parameters

message

System.String.  A description of the exception.

innerException

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

MediaChangerException.MediaChangerException Constructor

Initializes an instance of the MediaChangerException class.

Syntax

protected MediaChangerException(
  System.Runtime.Serialization.SerializationInfo  info,
  System.Runtime.Serialization.StreamingContext  context
);

Parameters

info

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

context

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

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

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

See Also