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)
Available in Sandboxed Solutions: No
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
name
Type: System.StringThe non-localized name of this item.
messageId
Type: System.UInt32An integer value representing the index in the message table corresponding to this item.
itemId
Type: System.UInt32The numeric index of this item.
hidden
Type: System.BooleanIf true, the item is hidden from the administrative user interface.