영어로 읽기

다음을 통해 공유


IDiagnosticsDataservice.GetMyCorrelationId method

Get the correlation id set for the current user and address. The correlation id is set via SetMyCorrelationId. If there is a correlation id set, all requests from the current user and machine will use the correlation id.

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

Syntax

C#
[OperationContractAttribute]
[WebInvokeAttribute(UriTemplate = "My/CorrelationId", Method = "GET", 
    RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
Guid GetMyCorrelationId()

Return value

Type: System.Guid

Remarks

This is reserved for internal test purpose only

See also

Reference

IDiagnosticsDataservice interface

IDiagnosticsDataservice members

Microsoft.SharePoint.Diagnostics namespace