Compartir a través de


IProfferService.RevokeService(UInt32) Method

Definition

Prevents third-party clients from accessing a specified service.

public:
 int RevokeService(System::UInt32 dwCookie);
public:
 int RevokeService(unsigned int dwCookie);
int RevokeService(unsigned int dwCookie);
public int RevokeService (uint dwCookie);
abstract member RevokeService : uint32 -> int
Public Function RevokeService (dwCookie As UInteger) As Integer

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