ExtensionPointAsyncPackage.CreateExtensionPointProvider<TAttribute,TInterface> Yöntem

Tanım

protected:
generic <typename TAttribute, typename TInterface>
 where TAttribute : Microsoft::VisualStudio::Shell::ExtensionPointRegistrationAttribute where TInterface : class TInterface CreateExtensionPointProvider(Guid provider);
protected TInterface CreateExtensionPointProvider<TAttribute,TInterface> (Guid provider) where TAttribute : Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute where TInterface : class;
member this.CreateExtensionPointProvider : Guid -> 'Interface (requires 'Attribute :> Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute and 'Interface : null)
Protected Function CreateExtensionPointProvider(Of TAttribute As ExtensionPointRegistrationAttribute, TInterface As ExtensionPointRegistrationAttribute) (provider As Guid) As TInterface

Tür Parametreleri

TAttribute
TInterface

Parametreler

provider
Guid

Döndürülenler

TInterface

İstenen uzantı sağlayıcısı

Özel durumlar

İstenen sağlayıcı bulunamadı

İstenen sağlayıcı, TInterface arabirimini uygulamıyor

Şunlara uygulanır