Share via


SPDiagnosticsItem constructor (String, UInt32, UInt32, Boolean)

Initializes a new instance of the SPDiagnosticsItem class

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    messageId As UInteger, _
    itemId As UInteger, _
    hidden As Boolean _
)
'Usage
Dim name As String
Dim messageId As UInteger
Dim itemId As UInteger
Dim hidden As Boolean

Dim instance As New SPDiagnosticsItem(name, messageId, _
    itemId, hidden)
public SPDiagnosticsItem(
    string name,
    uint messageId,
    uint itemId,
    bool hidden
)

Parameters

  • messageId
    Type: System.UInt32

    An integer value representing the index in the message table corresponding to this item.

  • hidden
    Type: System.Boolean

    If true, the item is hidden from the administrative user interface.

See also

Reference

SPDiagnosticsItem class

SPDiagnosticsItem members

SPDiagnosticsItem overload

Microsoft.SharePoint.Administration namespace