InstrumentationException Constructors

Definitie

Initialiseert een nieuw exemplaar van de InstrumentationException. Dit is de parameterloze constructor.

Overloads

Name Description
InstrumentationException()

Initialiseert een nieuw exemplaar van de InstrumentationException klasse. Dit is de parameterloze constructor.

InstrumentationException(Exception)

Initialiseert een nieuwe InstrumentationException klasse met de System.Exception die de huidige uitzondering heeft veroorzaakt.

InstrumentationException(String)

Initialiseert een nieuw exemplaar van de InstrumentationException klasse met een bericht waarin de uitzondering wordt beschreven.

InstrumentationException(SerializationInfo, StreamingContext)

Initialiseert een nieuw exemplaar van de InstrumentationException klasse met serialisatie-informatie.

InstrumentationException(String, Exception)

Initialiseert een nieuwe InstrumentationException klasse met de opgegeven tekenreeks en uitzondering.

InstrumentationException()

Initialiseert een nieuw exemplaar van de InstrumentationException klasse. Dit is de parameterloze constructor.

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

Van toepassing op

InstrumentationException(Exception)

Initialiseert een nieuwe InstrumentationException klasse met de System.Exception die de huidige uitzondering heeft veroorzaakt.

public:
 InstrumentationException(Exception ^ innerException);
public InstrumentationException(Exception innerException);
new System.Management.Instrumentation.InstrumentationException : Exception -> System.Management.Instrumentation.InstrumentationException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

De uitzonderingsinstantie die de huidige uitzondering heeft veroorzaakt.

Van toepassing op

InstrumentationException(String)

Initialiseert een nieuw exemplaar van de InstrumentationException klasse met een bericht waarin de uitzondering wordt beschreven.

public:
 InstrumentationException(System::String ^ message);
public InstrumentationException(string message);
new System.Management.Instrumentation.InstrumentationException : string -> System.Management.Instrumentation.InstrumentationException
Public Sub New (message As String)

Parameters

message
String

Bericht waarin de uitzondering wordt beschreven.

Van toepassing op

InstrumentationException(SerializationInfo, StreamingContext)

Initialiseert een nieuw exemplaar van de InstrumentationException klasse met serialisatie-informatie.

protected:
 InstrumentationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstrumentationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Instrumentation.InstrumentationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Instrumentation.InstrumentationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

De gegevens die nodig zijn om een object te serialiseren of deserialiseren.

context
StreamingContext

Beschrijving van de bron en het doel van de opgegeven geserialiseerde stream.

Van toepassing op

InstrumentationException(String, Exception)

Initialiseert een nieuwe InstrumentationException klasse met de opgegeven tekenreeks en uitzondering.

public:
 InstrumentationException(System::String ^ message, Exception ^ innerException);
public InstrumentationException(string message, Exception innerException);
new System.Management.Instrumentation.InstrumentationException : string * Exception -> System.Management.Instrumentation.InstrumentationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Bericht waarin de uitzondering wordt beschreven.

innerException
Exception

De uitzonderingsinstantie die de huidige uitzondering heeft veroorzaakt.

Van toepassing op