Freigeben über


PlayToConnection.Transferred Ereignis

Definition

Tritt auf, wenn die Play To-Verbindung an die nächste Play To-Quelle übertragen wird.

/// [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) 

Ereignistyp

Attribute

Gilt für:

Weitere Informationen