共用方式為


ClientRuntimeContext.TraceCorrelationId 屬性

取得或設定伺服器使用的追蹤相互關聯識別碼。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

'宣告
Public Property TraceCorrelationId As String
    Get
    Set
'用途
Dim instance As ClientRuntimeContext
Dim value As String

value = instance.TraceCorrelationId

instance.TraceCorrelationId = value
public string TraceCorrelationId { get; set; }

屬性值

類型:System.String

備註

無法執行要求時,或者伺服器並不傳回相互關聯識別碼值可能會 null

請參閱

參照

ClientRuntimeContext 類別

ClientRuntimeContext 成員

Microsoft.SharePoint.Client 命名空間