Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WsRevokeSecurityContext function

Revokes a security context. Can only be called on the server side. Further requests using this security context will fail and a fault will be sent to the client.

This function can be used when the server knows that no more messages are coming and does not want to wait for the client or the context timeouts to trigger the reclaiming of resources, or when the server wants to engage in active context management.

Syntax


HRESULT WINAPI  WsRevokeSecurityContext(
  _In_     WS_SECURITY_CONTEXT* securityContext,
  _In_opt_ WS_ERROR*            error
);

Parameters

securityContext [in]

The security context to be revoked.

error [in, optional]

Specifies where additional error information should be stored if the function fails.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

Show:
© 2016 Microsoft