Partilhar via


NullTelemetryClient.IsEnabled Method

Definition

Overloads

IsEnabled()

Checks to see if telemetry is enabled all up.

IsEnabled(String)

Checks to see if telemetry is enabled for the named event.

IsEnabled()

Checks to see if telemetry is enabled all up.

public bool IsEnabled ();
abstract member IsEnabled : unit -> bool
override this.IsEnabled : unit -> bool
Public Function IsEnabled () As Boolean

Returns

Returns true if telemetry should be sent; false otherwise.

Implements

Applies to

IsEnabled(String)

Checks to see if telemetry is enabled for the named event.

public bool IsEnabled (string eventName);
abstract member IsEnabled : string -> bool
override this.IsEnabled : string -> bool
Public Function IsEnabled (eventName As String) As Boolean

Parameters

eventName
String

Name of the event to check.

Returns

Returns true if telemetry should be sent for eventName; false otherwise.

Implements

Applies to