InvalidWmpVersionException Constructors

Definition

Initializes a new instance of the InvalidWmpVersionException class.

Overloads

InvalidWmpVersionException()

Initializes a new instance of the InvalidWmpVersionException class.

InvalidWmpVersionException(String)

Initializes a new instance of the InvalidWmpVersionException class with the given error message.

InvalidWmpVersionException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidWmpVersionException class with serialization information.

InvalidWmpVersionException(String, Exception)

Initializes a new instance of the InvalidWmpVersionException class with the given error message and a reference to the inner exception that caused this exception.

InvalidWmpVersionException()

Initializes a new instance of the InvalidWmpVersionException class.

public:
 InvalidWmpVersionException();
public InvalidWmpVersionException ();
Public Sub New ()

Applies to

InvalidWmpVersionException(String)

Initializes a new instance of the InvalidWmpVersionException class with the given error message.

public:
 InvalidWmpVersionException(System::String ^ message);
public InvalidWmpVersionException (string message);
new System.Windows.Media.InvalidWmpVersionException : string -> System.Windows.Media.InvalidWmpVersionException
Public Sub New (message As String)

Parameters

message
String

The error message used to initialize the exception.

Applies to

InvalidWmpVersionException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidWmpVersionException class with serialization information.

protected:
 InvalidWmpVersionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidWmpVersionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Media.InvalidWmpVersionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Media.InvalidWmpVersionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information about the object.

context
StreamingContext

Context information about the serialized stream.

Applies to

InvalidWmpVersionException(String, Exception)

Initializes a new instance of the InvalidWmpVersionException class with the given error message and a reference to the inner exception that caused this exception.

public:
 InvalidWmpVersionException(System::String ^ message, Exception ^ innerException);
public InvalidWmpVersionException (string message, Exception innerException);
new System.Windows.Media.InvalidWmpVersionException : string * Exception -> System.Windows.Media.InvalidWmpVersionException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The description of the error.

innerException
Exception

The inner exception that caused this exception.

Applies to