Skip to content

Latest commit

 

History

History
189 lines (114 loc) · 9.17 KB

File metadata and controls

189 lines (114 loc) · 9.17 KB

nsTelemetryAI

Contents

DeveloperModeWithDebuggerAttachedTelemetryModule type

Namespace

NishySoftware.Telemetry.ApplicationInsights

Summary

[en] Telemetry module that sets developer mode to true when is not already set AND managed debugger is attached.

[ja] デベロッパーモードが設定されていなくて、デバッガーがアタッチされているときに、デベロッパーモードをセットするTelemetryモジュール

Telemetry type

Namespace

NishySoftware.Telemetry.ApplicationInsights

Summary

[en] A class that exposes an API to create an instance of the ITelemetry interface.

[ja] ITelemetry インターフェースのインスタンスを作成するAPIを公開するクラス

CommonDataKinds property

Summary

[en] Property that specifies the common telemetry data to be applied to all telemetry transmissions.

[ja] すべてのテレメトリー送信に適用する共通Telemetryデータを指定するプロパティ

CreateTelemetry() method

Summary

[en] Static function to create the ITelemetry interface

[ja] ITelemetry インターフェースを作成する静的関数

Returns

[en] ITelemetry interface

[ja] インターフェース

Parameters

This method has no parameters.

Enable(enable) method

Summary

[en] Static function to enable/disable Telemetry If disabled, calling the ITelemetry.TrackXXXX() function will not send telemetry.

[ja] Telemetryを有効化・無効化する静的関数 無効化されている場合は、ITelemetry.TrackXXXX()関数を呼び出しても、テレメトリー送信されません

Returns

[en] old value

[ja] 変更前の値

Parameters
Name Type Description
enable System.Boolean [en] new value. [ja]新しい値。

EnableDeveloperMode(enable) method

Summary

[en] Set and reset DeveloperMode.

[ja] DeveloperModeを設定・解除する

Returns

[en] old value.

[ja]変更前の値。

Parameters
Name Type Description
enable System.Boolean [en] new value. [ja]新しい値。
Remarks

[en] This library is automatically set to DeveloperMode mode when the Debugger is attached. When DeveloperMode is enabled, synchronous transmission is always performed when the ITelemetry.TrackXXXX() function is called. Synchronous sending slows down the application because there is a wait until the sending is completed when the ITelemetry.TrackXXXX() function is called. To prevent the app from running slowly during debugging, disable DeveloperMode.

[ja] このライブラリーはDebuggerがアッタッチされていたら、自動的にDeveloperModeモードに設定します。 DeveloperModeが有効な場合は、ITelemetry.TrackXXXX()関数を呼び出したときに常に同期送信が行われます。 同期送信では、ITelemetry.TrackXXXX()関数を呼び出したときに送信完了するまでの待ちが発生するため、アプリの動作が遅くなります。 デバッグ時にアプリの動作が遅くならないようにするためには、DeveloperModeを解除します。

IsEnabled() method

Summary

[en] Static function to check if Telemetry is enabled If disabled, calling the ITelemetry.TrackXXXX() function will not send telemetry.

[ja] Telemetryが有効化されているか確認する静的関数 無効化されている場合は、ITelemetry.TrackXXXX()関数を呼び出しても、テレメトリー送信されません

Returns

[en] current value

[ja] 現在の値

Parameters

This method has no parameters.

SetInstrumentationKey(instrumentationKey) method

Summary

[en] Setup the InstrumentationKey. Setup your InstrumentationKey using this method if you do not place it in the ApplicationInsights.config file.

[ja] InstrumentationKeyを設定します。 ApplicationInsights.configファイルにInstrumentationKeyを設定していない場合は、このメソッドでInstrumentationKeyを設定します。

Parameters
Name Type Description
instrumentationKey System.String [en] InstrumentationKey of Application Insights resource [ja] Application InsightsリソースのInstrumentationKey

UnhandledExceptionTelemetryModule type

Namespace

NishySoftware.Telemetry.ApplicationInsights

Summary

The module subscribed to AppDomain.CurrentDomain.UnhandledException to send exceptions to ApplicationInsights.

[ja] ApplicationInsightsに例外の発生を送信するために、AppDomain.CurrentDomain.UnhandledExceptionイベントを購読するためのTelemetryモジュール

UnobservedExceptionTelemetryModule type

Namespace

NishySoftware.Telemetry.ApplicationInsights

Summary

The module subscribed to TaskScheduler.UnobservedTaskException to send exceptions to ApplicationInsights.

[ja] ApplicationInsightsに例外の発生を送信するために、TaskScheduler.UnobservedTaskExceptionイベントを購読するためのTelemetryモジュール