IDiagnosticsDataservice.SetMyCorrelationId 方法

设置相关性 id

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

语法

声明
<WebInvokeAttribute(UriTemplate := "My/CorrelationId", Method := "POST",  _
    RequestFormat := WebMessageFormat.Json, ResponseFormat := WebMessageFormat.Json)> _
<OperationContractAttribute> _
Sub SetMyCorrelationId ( _
    correlationId As Guid _
)
用法
Dim instance As IDiagnosticsDataservice
Dim correlationId As Guid

instance.SetMyCorrelationId(correlationId)
[WebInvokeAttribute(UriTemplate = "My/CorrelationId", Method = "POST", 
    RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[OperationContractAttribute]
void SetMyCorrelationId(
    Guid correlationId
)

参数

  • correlationId
    类型:System.Guid

    相关性 id 设置

备注

这被保留给内部测试目的

另请参阅

引用

IDiagnosticsDataservice 接口

IDiagnosticsDataservice 成员

Microsoft.SharePoint.Diagnostics 命名空间