共用方式為


Print3DTask.SourceChanged 事件

定義

發生于工作流程修改 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) 

事件類型

適用於