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
windowsHandle
Type: System.IntPtrThe handle to be cached.
callerPid
Type: System.Int32The 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