Share via


ProvideComponentDiagnosticsAttribute Constructor (Type, String, String, UInt32)

Initializes a new instance of the ProvideComponentDiagnosticsAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    providerType As Type, _
    name As String, _
    viewFactory As String, _
    view As UInteger _
)
public ProvideComponentDiagnosticsAttribute(
    Type providerType,
    string name,
    string viewFactory,
    uint view
)
public:
ProvideComponentDiagnosticsAttribute(
    Type^ providerType, 
    String^ name, 
    String^ viewFactory, 
    unsigned int view
)
new : 
        providerType:Type * 
        name:string * 
        viewFactory:string * 
        view:uint32 -> ProvideComponentDiagnosticsAttribute
public function ProvideComponentDiagnosticsAttribute(
    providerType : Type, 
    name : String, 
    viewFactory : String, 
    view : uint
)

Parameters

  • name
    Type: System.String

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

  • viewFactory
    Type: System.String

    GUID of the UI factory containing the view for this provider's data model.

  • view
    Type: System.UInt32

    Identifier of the element in the UI factory.

Remarks

When applied to a package, registers the package as a Component Diagnostics Provider with a custom view.

.NET Framework Security

See Also

Reference

ProvideComponentDiagnosticsAttribute Class

ProvideComponentDiagnosticsAttribute Overload

Microsoft.VisualStudio.Shell Namespace