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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應