AllJoynSession.MemberRemoved Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Importante
Os tipos no namespace Windows.Devices.AllJoyn foram preteridos e podem não estar disponíveis em versões futuras do Windows. O AllJoyn, patrocinado pela AllSeen Alliance, era um protocolo de descoberta e comunicação de software livre para cenários de IoT (Internet das Coisas), como acender e desligar as luzes e ler temperaturas. Para obter alternativas, como IoTivity Lite e IoTivity, consulte o site do iotivity.org .
Evento disparado quando um membro foi removido de uma AllJoynSession.
// Register
event_token MemberRemoved(TypedEventHandler<AllJoynSession, AllJoynSessionMemberRemovedEventArgs const&> const& handler) const;
// Revoke with event_token
void MemberRemoved(event_token const* cookie) const;
// Revoke with event_revoker
AllJoynSession::MemberRemoved_revoker MemberRemoved(auto_revoke_t, TypedEventHandler<AllJoynSession, AllJoynSessionMemberRemovedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
// Register
event_token MemberRemoved(TypedEventHandler<AllJoynSession, AllJoynSessionMemberRemovedEventArgs const&> const& handler) const;
// Revoke with event_token
void MemberRemoved(event_token const* cookie) const;
// Revoke with event_revoker
AllJoynSession::MemberRemoved_revoker MemberRemoved(auto_revoke_t, TypedEventHandler<AllJoynSession, AllJoynSessionMemberRemovedEventArgs const&> const& handler) const;
public event TypedEventHandler<AllJoynSession,AllJoynSessionMemberRemovedEventArgs> MemberRemoved;
[add: Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<AllJoynSession,AllJoynSessionMemberRemovedEventArgs> MemberRemoved;
function onMemberRemoved(eventArgs) { /* Your code */ }
allJoynSession.addEventListener("memberremoved", onMemberRemoved);
allJoynSession.removeEventListener("memberremoved", onMemberRemoved);
- or -
allJoynSession.onmemberremoved = onMemberRemoved;
Public Custom Event MemberRemoved As TypedEventHandler(Of AllJoynSession, AllJoynSessionMemberRemovedEventArgs)
Tipo de evento
- Atributos
Requisitos do Windows
Funcionalidades do aplicativo |
allJoyn
|