DataPackage.ShareCompleted DataPackage.ShareCompleted DataPackage.ShareCompleted DataPackage.ShareCompleted DataPackage.ShareCompleted Event

Definition

An event that is triggered when a share is completed. Shares can be sent to an app, a provider, or a contact.

public : event TypedEventHandler<DataPackage, ShareCompletedEventArgs> ShareCompleted
// Register
event_token ShareCompleted(TypedEventHandler<DataPackage, ShareCompletedEventArgs> const& handler) const;

// Revoke with event_token
void ShareCompleted(event_token const& cookie) const;

// Revoke with event_revoker
ShareCompleted_revoker ShareCompleted(auto_revoke_t, TypedEventHandler<DataPackage, ShareCompletedEventArgs> const& handler) const;
public event TypedEventHandler<DataPackage, ShareCompletedEventArgs> ShareCompleted
Public Event ShareCompleted As TypedEventHandler (Of DataPackage, ShareCompletedEventArgs)
function onShareCompleted(eventArgs){/* Your code */}


dataPackage.addEventListener("sharecompleted", onShareCompleted);
dataPackage.removeEventListener("sharecompleted", onShareCompleted);