共用方式為


SPDiagnosticsCondition constructor (String, String, SPDiagnosticsConditionField, UInt32)

初始化指定參數的值為基礎的SPDiagnosticsCondition類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    name As String, _
    pattern As String, _
    field As SPDiagnosticsConditionField, _
    expiration As UInteger _
)
'用途
Dim name As String
Dim pattern As String
Dim field As SPDiagnosticsConditionField
Dim expiration As UInteger

Dim instance As New SPDiagnosticsCondition(name, pattern, _
    field, expiration)
public SPDiagnosticsCondition(
    string name,
    string pattern,
    SPDiagnosticsConditionField field,
    uint expiration
)

參數

  • expiration
    Type: System.UInt32

    此條件會到期前的分鐘數。

請參閱

參照

SPDiagnosticsCondition class

SPDiagnosticsCondition members

SPDiagnosticsCondition overload

Microsoft.SharePoint.Administration namespace