Share via


ISPWindowsTokenCacheServiceContract.CacheHandle method

Caches a handle to the specified user process.

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

Syntax

'Declaration
<OperationContractAttribute> _
Sub CacheHandle ( _
    windowsHandle As IntPtr, _
    callerPid As Integer _
)
'Usage
Dim instance As ISPWindowsTokenCacheServiceContract
Dim windowsHandle As IntPtr
Dim callerPid As Integer

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

Parameters

  • callerPid
    Type: System.Int32

    The ID of the caller process.

Remarks

Classes that implement this interface should ensure that the handle is not already cached and should use a thread-safe storage mechanism.

See also

Reference

ISPWindowsTokenCacheServiceContract interface

ISPWindowsTokenCacheServiceContract members

Microsoft.SharePoint.Administration.Claims namespace