TelemetryContext.InstrumentationKey Property
Namespace: Microsoft.ApplicationInsights.Contracts
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)
Usage
'Usage
Dim instance As TelemetryContext
Dim value As String
value = instance.InstrumentationKey
instance.InstrumentationKey = value
Syntax
'Declaration
Public Property InstrumentationKey As String
public string InstrumentationKey { get; set; }
public:
property String^ InstrumentationKey {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_InstrumentationKey ()
/** @property */
public void set_InstrumentationKey (String value)
public function get InstrumentationKey () : String
public function set InstrumentationKey (value : String)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 8, Windows Server 2012
See Also
Reference
TelemetryContext Class
TelemetryContext Members
Microsoft.ApplicationInsights.Contracts Namespace