EventLogProviderDisabledException コンストラクター

定義

EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
EventLogProviderDisabledException()

EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

EventLogProviderDisabledException(String)

現在の例外を説明するエラー メッセージを指定して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
古い.

シリアル化されたデータを使用して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

EventLogProviderDisabledException(String, Exception)

エラー メッセージと内部例外を使用して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

EventLogProviderDisabledException()

ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs

EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

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

適用対象

EventLogProviderDisabledException(String)

ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs

現在の例外を説明するエラー メッセージを指定して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

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

パラメーター

message
String

現在の例外を説明するエラー メッセージ。

適用対象

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs

注意事項

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

シリアル化されたデータを使用して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

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)

パラメーター

serializationInfo
SerializationInfo

スローされた例外に関するシリアル化されたオブジェクト データを保持する SerializationInfo オブジェクト。

streamingContext
StreamingContext

ソースまたは変換先に関するコンテキスト情報を含む StreamingContext オブジェクト。

属性

適用対象

EventLogProviderDisabledException(String, Exception)

ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs
ソース:
EventLogException.cs

エラー メッセージと内部例外を使用して、 EventLogProviderDisabledException クラスの新しいインスタンスを初期化します。

public:
 EventLogProviderDisabledException(System::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)

パラメーター

message
String

現在の例外を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因となった Exception インスタンス。

適用対象