Print3DTask.SourceChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the workflow modifies the 3D print package.
// 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)