EventLogProviderDisabledException Constructors

Definitie

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse.

Overloads

Name Description
EventLogProviderDisabledException()

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse.

EventLogProviderDisabledException(String)

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse door het foutbericht op te geven dat de huidige uitzondering beschrijft.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Verouderd.

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse met geserialiseerde gegevens.

EventLogProviderDisabledException(String, Exception)

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse met een foutbericht en interne uitzondering.

EventLogProviderDisabledException()

Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse.

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

Zie ook

Van toepassing op

EventLogProviderDisabledException(String)

Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse door het foutbericht op te geven dat de huidige uitzondering beschrijft.

public:
 EventLogProviderDisabledException(System::String ^ message);
public EventLogProviderDisabledException(string? message);
public EventLogProviderDisabledException(string message);
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : string -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
Public Sub New (message As String)

Parameters

message
String

Het foutbericht waarin de huidige uitzondering wordt beschreven.

Zie ook

Van toepassing op

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs

Let op

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse met geserialiseerde gegevens.

protected:
 EventLogProviderDisabledException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected EventLogProviderDisabledException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected EventLogProviderDisabledException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

Het SerializationInfo object met de geserialiseerde objectgegevens over de uitzondering die is gegenereerd.

streamingContext
StreamingContext

Het StreamingContext object met contextuele informatie over de bron of bestemming.

Kenmerken

Zie ook

Van toepassing op

EventLogProviderDisabledException(String, Exception)

Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs
Bron:
EventLogException.cs

Initialiseert een nieuw exemplaar van de EventLogProviderDisabledException klasse met een foutbericht en interne uitzondering.

public:
 EventLogProviderDisabledException(System::String ^ message, Exception ^ innerException);
public EventLogProviderDisabledException(string? message, Exception? innerException);
public EventLogProviderDisabledException(string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Het foutbericht waarin de huidige uitzondering wordt beschreven.

innerException
Exception

De uitzonderingsinstantie die de huidige uitzondering heeft veroorzaakt.

Zie ook

Van toepassing op