Constructor. While possible to use one should probably use createDefault instead.
OptionalroleOptional Role name that application insights will report. A good idea is to use application name for this.
AccountId that application insights will report. In twinfinity its a good idea to set it to the customer hostname.
true if console logging is enabled, otherwise false.
Set to true to enable console logging. false to disable.
User id that application insights will report. In twinfinity its a good idea to set this to the logged in user.
Unregister a TwinfinityTelemetryClientConfig. Calls to the trackXYZ methods will no longer be forwarded to that instance.
Name of TwinfinityTelemetryClientConfig to delete.
true if TwinfinityTelemetryClientConfig existed (and hence was deleted), otherwise false
Iterator for all registered TwinfinityTelemetryClientConfig. See set and delete as well.
Iterator for all registered TwinfinityTelemetryClientConfig.
Register a TwinfinityTelemetryClientConfig instance. Future calls to trackXYZ methods will be forwarded to the client property of this instance.
Set the authenticated user id and the account id. Used for identifying a specific signed-in user. Parameters must not contain whitespace or ,;=|
The method will only set the authenticatedUserId and accountId in the current page view. To set them for the whole session, you should set storeInCookie = true
OptionalaccountId: stringOptionalstoreInCookie: booleanStarts tracking an event with the given name.
The name of the event to track.
Track an event. See Application insights documentation for more information
OptionalcustomProperties: ICustomPropertiesTrack an exception. See Application insights documentation for more information
OptionalcustomProperties: ICustomPropertiesTrack a metric. See Application insights documentation for more information
OptionalcustomProperties: ICustomPropertiesTrack a trace. See Application insights documentation for more information
OptionalcustomProperties: ICustomPropertiesStaticcreateCreates the default CompoundTelemetryClient instance. It will log to console by default and if it detects a application insights instance in the page it will use that as well.
Used to combine a set of TwinfinityTelemetryClient instances and have calls to the trackXYZ methods, on this instance, forwarded to them.