Share via


IDiagnosticsDataservice.SetMyCorrelationId method

Set the correlation id

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

Syntax

'Declaration
<WebInvokeAttribute(UriTemplate := "My/CorrelationId", Method := "POST",  _
    RequestFormat := WebMessageFormat.Json, ResponseFormat := WebMessageFormat.Json)> _
<OperationContractAttribute> _
Sub SetMyCorrelationId ( _
    correlationId As Guid _
)
'Usage
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
)

Parameters

  • correlationId
    Type: System.Guid

    The correlation id to set

Remarks

This is reserved for internal test purpose only

See also

Reference

IDiagnosticsDataservice interface

IDiagnosticsDataservice members

Microsoft.SharePoint.Diagnostics namespace