IProfferService.RevokeService(UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prevents third-party clients from accessing a specified service.
public:
int RevokeService(System::UInt32 dwCookie);
C++/CX
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
- dwCookie
- UInt32
[in] Identifier of the specified service that is returned by a call to ProfferService(Guid, IServiceProvider, UInt32).
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method is safe to access from any thread.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |