PlayToConnection.Transferred 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.
Ocorre quando a conexão Reproduzir para é transferida para a próxima origem Reproduzir para.
/// [add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
// Register
event_token Transferred(TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
// Revoke with event_token
void Transferred(event_token const* cookie) const;
// Revoke with event_revoker
PlayToConnection::Transferred_revoker Transferred(auto_revoke_t, TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
// Register
event_token Transferred(TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
// Revoke with event_token
void Transferred(event_token const* cookie) const;
// Revoke with event_revoker
PlayToConnection::Transferred_revoker Transferred(auto_revoke_t, TypedEventHandler<PlayToConnection, PlayToConnectionTransferredEventArgs const&> const& handler) const;
[add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public event TypedEventHandler<PlayToConnection,PlayToConnectionTransferredEventArgs> Transferred;
[add: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PlayToConnection may be altered or unavailable for releases after Windows 10. Instead, use CastingConnection.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PlayToConnection,PlayToConnectionTransferredEventArgs> Transferred;
function onTransferred(eventArgs) { /* Your code */ }
playToConnection.addEventListener("transferred", onTransferred);
playToConnection.removeEventListener("transferred", onTransferred);
- or -
playToConnection.ontransferred = onTransferred;
Public Custom Event Transferred As TypedEventHandler(Of PlayToConnection, PlayToConnectionTransferredEventArgs)
Tipo de evento
- Atributos