AssetService.RegisterProvider(String, IAssetProvider) Method

Definition

Register asset provider which can send asset event and return correlation per consumers' request.

public:
 void RegisterProvider(System::String ^ assetTypeName, Microsoft::VisualStudio::Telemetry::IAssetProvider ^ assetProvider);
public void RegisterProvider (string assetTypeName, Microsoft.VisualStudio.Telemetry.IAssetProvider assetProvider);
member this.RegisterProvider : string * Microsoft.VisualStudio.Telemetry.IAssetProvider -> unit
Public Sub RegisterProvider (assetTypeName As String, assetProvider As IAssetProvider)

Parameters

assetTypeName
String

Asset type name. It is defined by asset provider.

assetProvider
IAssetProvider

Asset provider

Applies to