다음을 통해 공유


DataPackage.ShareCanceled 이벤트

정의

공유가 취소될 때 발생합니다.

// Register
event_token ShareCanceled(TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DataPackage::ShareCanceled_revoker ShareCanceled(auto_revoke_t, TypedEventHandler<DataPackage, IInspectable const&> const& handler) const;
public event TypedEventHandler<DataPackage,object> ShareCanceled;
function onShareCanceled(eventArgs) { /* Your code */ }
dataPackage.addEventListener("sharecanceled", onShareCanceled);
dataPackage.removeEventListener("sharecanceled", onShareCanceled);
- or -
dataPackage.onsharecanceled = onShareCanceled;
Public Custom Event ShareCanceled As TypedEventHandler(Of DataPackage, Object) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2004 (10.0.19041.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v10.0에서 도입되었습니다.)

적용 대상