InstrumentationBaseException Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy InstrumentationBaseException. Jest to konstruktor bez parametrów.
Przeciążenia
InstrumentationBaseException() |
Inicjuje nowe wystąpienie klasy InstrumentationBaseException. Klasa. Jest to konstruktor bez parametrów. |
InstrumentationBaseException(String) |
Inicjuje InstrumentationBaseException nowe wystąpienie klasy z komunikatem opisujący wyjątek. |
InstrumentationBaseException(SerializationInfo, StreamingContext) |
Inicjuje InstrumentationBaseException nowe wystąpienie klasy z informacjami o serializacji. |
InstrumentationBaseException(String, Exception) |
Inicjuje nową InstrumentationBaseException klasę z określonym ciągiem i wyjątkiem. |
InstrumentationBaseException()
Inicjuje nowe wystąpienie klasy InstrumentationBaseException. Klasa. Jest to konstruktor bez parametrów.
public:
InstrumentationBaseException();
public InstrumentationBaseException ();
Public Sub New ()
Dotyczy
InstrumentationBaseException(String)
Inicjuje InstrumentationBaseException nowe wystąpienie klasy z komunikatem opisujący wyjątek.
public:
InstrumentationBaseException(System::String ^ message);
public InstrumentationBaseException (string message);
new System.Management.Instrumentation.InstrumentationBaseException : string -> System.Management.Instrumentation.InstrumentationBaseException
Public Sub New (message As String)
Parametry
- message
- String
Komunikat opisujący wyjątek.
Dotyczy
InstrumentationBaseException(SerializationInfo, StreamingContext)
Inicjuje InstrumentationBaseException nowe wystąpienie klasy z informacjami o serializacji.
protected:
InstrumentationBaseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstrumentationBaseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Instrumentation.InstrumentationBaseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Instrumentation.InstrumentationBaseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametry
- info
- SerializationInfo
Dane wymagane do serializacji lub deserializacji obiektu.
- context
- StreamingContext
Opis źródła i miejsca docelowego określonego serializowanego strumienia.
Dotyczy
InstrumentationBaseException(String, Exception)
Inicjuje nową InstrumentationBaseException klasę z określonym ciągiem i wyjątkiem.
public:
InstrumentationBaseException(System::String ^ message, Exception ^ innerException);
public InstrumentationBaseException (string message, Exception innerException);
new System.Management.Instrumentation.InstrumentationBaseException : string * Exception -> System.Management.Instrumentation.InstrumentationBaseException
Public Sub New (message As String, innerException As Exception)
Parametry
- message
- String
Komunikat opisujący wyjątek.
- innerException
- Exception
Wystąpienie wyjątku, które spowodowało bieżący wyjątek.