共用方式為


ISPWindowsTokenCacheServiceContract.CacheHandle method

可以快取至指定的使用者程序的控制代碼。

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<OperationContractAttribute> _
Sub CacheHandle ( _
    windowsHandle As IntPtr, _
    callerPid As Integer _
)
'用途
Dim instance As ISPWindowsTokenCacheServiceContract
Dim windowsHandle As IntPtr
Dim callerPid As Integer

instance.CacheHandle(windowsHandle, callerPid)
[OperationContractAttribute]
void CacheHandle(
    IntPtr windowsHandle,
    int callerPid
)

參數

  • callerPid
    Type: System.Int32

    發話者程序的識別碼。

備註

實作此介面的類別應該確定控點已經不 cached,並且應使用的執行緒安全儲存機制。

請參閱

參照

ISPWindowsTokenCacheServiceContract interface

ISPWindowsTokenCacheServiceContract members

Microsoft.SharePoint.Administration.Claims namespace