Partager via


ProvideComponentDiagnosticsAttribute Constructor (Type, String)

Initializes a new instance of the ProvideComponentDiagnosticsAttribute class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    providerType As Type, _
    name As String _
)
public ProvideComponentDiagnosticsAttribute(
    Type providerType,
    string name
)
public:
ProvideComponentDiagnosticsAttribute(
    Type^ providerType, 
    String^ name
)
new : 
        providerType:Type * 
        name:string -> ProvideComponentDiagnosticsAttribute
public function ProvideComponentDiagnosticsAttribute(
    providerType : Type, 
    name : String
)

Parameters

  • name
    Type: String

    A short, non-localized human-readable name that appears in the Component Diagnostics tool window's list of available providers.

Remarks

When applied to a package, this constructor registers the package as a Component Diagnostics Provider with the default view.

.NET Framework Security

See Also

Reference

ProvideComponentDiagnosticsAttribute Class

ProvideComponentDiagnosticsAttribute Overload

Microsoft.VisualStudio.Shell Namespace