Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Deletes the event handler represented by the specified event registration token from the set of event handlers associated with the current EventSource object.
HRESULT Remove(
EventRegistrationToken token
);
Parameters
- token
A handle that represents an event handler. This token was returned when the event handler was registered by the Add() method.
Return Value
S_OK if successful; otherwise, an HRESULT that indicates the error.
Remarks
For more information about the EventRegistrationToken structure, see the Windows::Foundation::EventRegistrationToken Structure topic in the Windows Runtime reference documentation.
Requirements
Header: event.h
Namespace: Microsoft::WRL