Print3DTask.Completed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當列印要求已傳送至 3D 印表機並建立 3D 列印工作時發生。
// Register
event_token Completed(TypedEventHandler<Print3DTask, Print3DTaskCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void Completed(event_token const* cookie) const;
// Revoke with event_revoker
Print3DTask::Completed_revoker Completed(auto_revoke_t, TypedEventHandler<Print3DTask, Print3DTaskCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DTask,Print3DTaskCompletedEventArgs> Completed;
function onCompleted(eventArgs) { /* Your code */ }
print3DTask.addEventListener("completed", onCompleted);
print3DTask.removeEventListener("completed", onCompleted);
- or -
print3DTask.oncompleted = onCompleted;
Public Custom Event Completed As TypedEventHandler(Of Print3DTask, Print3DTaskCompletedEventArgs)