Redigera

Dela via


WmiProviderInstallationException Constructors

Definition

Initializes a new instance of the class. This is the parameterless constructor.

Overloads

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.

WmiProviderInstallationException()

Initializes a new instance of the class. This is the parameterless constructor.

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

Applies to

WmiProviderInstallationException(String)

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

WmiProviderInstallationException(SerializationInfo, StreamingContext)

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

WmiProviderInstallationException(String, Exception)

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