Share via


AssetService.GetCorrelation Method

Definition

Overloads

GetCorrelation(String, Guid)

Get correlation for a given asset type and asset id.

GetCorrelation(String, String)

Get correlation for a given asset type and asset id.

GetCorrelation(String, Guid)

Get correlation for a given asset type and asset id.

public:
 Microsoft::VisualStudio::Telemetry::TelemetryEventCorrelation GetCorrelation(System::String ^ assetTypeName, Guid assetId);
public Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation GetCorrelation (string assetTypeName, Guid assetId);
member this.GetCorrelation : string * Guid -> Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation
Public Function GetCorrelation (assetTypeName As String, assetId As Guid) As TelemetryEventCorrelation

Parameters

assetTypeName
String

Asset type name. It is defined by asset provider.

assetId
Guid

Used to identify the asset. The id should be immutable in the asset life cycle, even if the status or content changes over time. E.g., project guid is generated during project creation and will never change. This makes it a good candidate for asset id of Project asset. You can get more information from asset provider.

Returns

Asset correlation

Applies to

GetCorrelation(String, String)

Get correlation for a given asset type and asset id.

public:
 Microsoft::VisualStudio::Telemetry::TelemetryEventCorrelation GetCorrelation(System::String ^ assetTypeName, System::String ^ assetId);
public Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation GetCorrelation (string assetTypeName, string assetId);
member this.GetCorrelation : string * string -> Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation
Public Function GetCorrelation (assetTypeName As String, assetId As String) As TelemetryEventCorrelation

Parameters

assetTypeName
String

Asset type name. It is defined by asset provider.

assetId
String

Used to identify the asset. The id should be immutable in the asset life cycle, even if the status or content changes over time. E.g., project guid is generated during project creation and will never change. This makes it a good candidate for asset id of Project asset. You can get more information from asset provider.

Returns

Asset correlation

Applies to