다음을 통해 공유


CastingConnection.ErrorOccurred 이벤트

정의

캐스팅 연결을 시도하는 동안 오류가 발생했음을 나타냅니다.

// Register
event_token ErrorOccurred(TypedEventHandler<CastingConnection, CastingConnectionErrorOccurredEventArgs const&> const& handler) const;

// Revoke with event_token
void ErrorOccurred(event_token const* cookie) const;

// Revoke with event_revoker
CastingConnection::ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, TypedEventHandler<CastingConnection, CastingConnectionErrorOccurredEventArgs const&> const& handler) const;
public event TypedEventHandler<CastingConnection,CastingConnectionErrorOccurredEventArgs> ErrorOccurred;
function onErrorOccurred(eventArgs) { /* Your code */ }
castingConnection.addEventListener("erroroccurred", onErrorOccurred);
castingConnection.removeEventListener("erroroccurred", onErrorOccurred);
- or -
castingConnection.onerroroccurred = onErrorOccurred;
Public Custom Event ErrorOccurred As TypedEventHandler(Of CastingConnection, CastingConnectionErrorOccurredEventArgs) 

이벤트 유형

적용 대상