Partager via


Print3DTask.SourceChanged Événement

Définition

Se produit lorsque le flux de travail modifie le package d’impression 3D.

// Register
event_token SourceChanged(TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Print3DTask::SourceChanged_revoker SourceChanged(auto_revoke_t, TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DTask,Print3DTaskSourceChangedEventArgs> SourceChanged;
function onSourceChanged(eventArgs) { /* Your code */ }
print3DTask.addEventListener("sourcechanged", onSourceChanged);
print3DTask.removeEventListener("sourcechanged", onSourceChanged);
- or -
print3DTask.onsourcechanged = onSourceChanged;
Public Custom Event SourceChanged As TypedEventHandler(Of Print3DTask, Print3DTaskSourceChangedEventArgs) 

Type d'événement

S’applique à