WmiProviderInstallationException Constructors
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 class. This is the parameterless constructor.
WmiProviderInstallationException() |
Initializes a new instance of the class. This is the parameterless constructor. |
WmiProviderInstallationException(String) |
Initializes a new instance of the class with a message that describes the exception. |
WmiProviderInstallationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialization information. |
WmiProviderInstallationException(String, Exception) |
Initializes a new class with the specified string and exception. |
Initializes a new instance of the class. This is the parameterless constructor.
public:
WmiProviderInstallationException();
public WmiProviderInstallationException();
Public Sub New ()
Applies to
.NET Framework 4.8.1 и друге верзије
Производ | Верзије |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the class with a message that describes the exception.
public:
WmiProviderInstallationException(System::String ^ message);
public WmiProviderInstallationException(string message);
new System.Management.Instrumentation.WmiProviderInstallationException : string -> System.Management.Instrumentation.WmiProviderInstallationException
Public Sub New (message As String)
Parameters
- message
- String
Message that describes the exception.
Applies to
.NET Framework 4.8.1 и друге верзије
Производ | Верзије |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the class with serialization information.
protected:
WmiProviderInstallationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WmiProviderInstallationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Instrumentation.WmiProviderInstallationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Instrumentation.WmiProviderInstallationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The data that is required to serialize or deserialize an object.
- context
- StreamingContext
Description of the source and destination of the specified serialized stream.
Applies to
.NET Framework 4.8.1 и друге верзије
Производ | Верзије |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new class with the specified string and exception.
public:
WmiProviderInstallationException(System::String ^ message, Exception ^ innerException);
public WmiProviderInstallationException(string message, Exception innerException);
new System.Management.Instrumentation.WmiProviderInstallationException : string * Exception -> System.Management.Instrumentation.WmiProviderInstallationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Message that describes the exception.
- innerException
- Exception
The Exception instance that caused the current exception.
Applies to
.NET Framework 4.8.1 и друге верзије
Производ | Верзије |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: