AssetService.RegisterProvider(String, IAssetProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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