SPDiagnosticsCondition 构造函数 (String, String, SPDiagnosticsConditionField, UInt32)

基于指定的参数值的SPDiagnosticsCondition类的新实例进行初始化。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
    类型:System.UInt32

    条件过期之前的分钟数。

另请参阅

引用

SPDiagnosticsCondition 类

SPDiagnosticsCondition 成员

SPDiagnosticsCondition 重载

Microsoft.SharePoint.Administration 命名空间