共用方式為


DiagnosticSourceAdapter.IsEnabled Method

Definition

Overloads

IsEnabled(String)
IsEnabled(String, Object, Object)

IsEnabled(String)

public:
 bool IsEnabled(System::String ^ diagnosticName);
public bool IsEnabled (string diagnosticName);
member this.IsEnabled : string -> bool
Public Function IsEnabled (diagnosticName As String) As Boolean

Parameters

diagnosticName
String

Returns

Applies to

IsEnabled(String, Object, Object)

public bool IsEnabled (string diagnosticName, object arg1, object arg2 = default);
member this.IsEnabled : string * obj * obj -> bool
Public Function IsEnabled (diagnosticName As String, arg1 As Object, Optional arg2 As Object = Nothing) As Boolean

Parameters

diagnosticName
String
arg1
Object
arg2
Object

Returns

Applies to