IProfferService.RevokeService(UInt32) Method

Definition

Prevents third-party clients from accessing a specified service.

C++/CX
public:
 int RevokeService(unsigned int dwCookie);

Parameters

dwCookie
UInt32

[in] Identifier of the specified service that is returned by a call to ProfferService(Guid, IServiceProvider, UInt32).

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is safe to access from any thread.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022