ProvideComponentDiagnosticsAttribute Oluşturucular

Tanım

Aşırı Yüklemeler

ProvideComponentDiagnosticsAttribute(Type, String)

ProvideComponentDiagnosticsAttribute sınıfının yeni bir örneğini başlatır.

ProvideComponentDiagnosticsAttribute(Type, String, String, UInt32)

ProvideComponentDiagnosticsAttribute sınıfının yeni bir örneğini başlatır.

ProvideComponentDiagnosticsAttribute(Type, String)

ProvideComponentDiagnosticsAttribute sınıfının yeni bir örneğini başlatır.

public:
 ProvideComponentDiagnosticsAttribute(Type ^ providerType, System::String ^ name);
public:
 ProvideComponentDiagnosticsAttribute(Platform::Type ^ providerType, Platform::String ^ name);
public ProvideComponentDiagnosticsAttribute (Type providerType, string name);
new Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute : Type * string -> Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute
Public Sub New (providerType As Type, name As String)

Parametreler

providerType
Type

Uygulayan tür IVsDiagnosticsProvider .

name
String

Bileşen Tanılama aracı penceresinin kullanılabilir sağlayıcılar listesinde görüntülenen, kısa, yerelleştirilmemiş, okunabilir olmayan bir ad.

Açıklamalar

Bu Oluşturucu, bir pakete uygulandığında, paketi varsayılan görünümle bir bileşen tanılama sağlayıcısı olarak kaydeder.

Şunlara uygulanır

ProvideComponentDiagnosticsAttribute(Type, String, String, UInt32)

ProvideComponentDiagnosticsAttribute sınıfının yeni bir örneğini başlatır.

public:
 ProvideComponentDiagnosticsAttribute(Type ^ providerType, System::String ^ name, System::String ^ viewFactory, System::UInt32 view);
public:
 ProvideComponentDiagnosticsAttribute(Platform::Type ^ providerType, Platform::String ^ name, Platform::String ^ viewFactory, unsigned int view);
public ProvideComponentDiagnosticsAttribute (Type providerType, string name, string viewFactory, uint view);
new Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute : Type * string * string * uint32 -> Microsoft.VisualStudio.Shell.ProvideComponentDiagnosticsAttribute
Public Sub New (providerType As Type, name As String, viewFactory As String, view As UInteger)

Parametreler

providerType
Type

Uygulayan tür IVsDiagnosticsProvider .

name
String

Bileşen Tanılama aracı penceresinin kullanılabilir sağlayıcılar listesinde görüntülenen, kısa, yerelleştirilmemiş, okunabilir olmayan bir ad.

viewFactory
String

Bu sağlayıcının veri modeli için görünümü içeren UI fabrikasının GUID 'ı.

view
UInt32

UI fabrikasında öğesinin tanımlayıcısı.

Açıklamalar

Bir pakete uygulandığında, paketi özel bir görünümle bir bileşen tanılama sağlayıcısı olarak kaydeder.

Şunlara uygulanır