Share via


NoMediaException.NoMediaException Constructor

Initializes an instance of the NoMediaException class.

Overload List

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

Initializes an instance of the NoMediaException class.

Syntax

public NoMediaException();

NoMediaException.NoMediaException Constructor

Initializes an instance of the NoMediaException class.

Syntax

public NoMediaException(
   string message
);

Parameters

message

System.String.  A description of the exception.

NoMediaException.NoMediaException Constructor

Initializes an instance of the NoMediaException class.

Syntax

public NoMediaException(
   string message,
   Exception inner
);

Parameters

message

System.String.  A description of the exception.

inner

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

NoMediaException.NoMediaException Constructor

Initializes an instance of the NoMediaException class.

Syntax

protected NoMediaException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info

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

context

System.Runtime.Serialization.StreamingContext.  A structure that contains contextual information about the source of the serialized stream associated with the new NoMediaException 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