InvalidWmpVersionException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈