Print3DManager.TaskRequested 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于建立新的 3D 列印工作時。
// Register
event_token TaskRequested(TypedEventHandler<Print3DManager, Print3DTaskRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void TaskRequested(event_token const* cookie) const;
// Revoke with event_revoker
Print3DManager::TaskRequested_revoker TaskRequested(auto_revoke_t, TypedEventHandler<Print3DManager, Print3DTaskRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DManager,Print3DTaskRequestedEventArgs> TaskRequested;
function onTaskRequested(eventArgs) { /* Your code */ }
print3DManager.addEventListener("taskrequested", onTaskRequested);
print3DManager.removeEventListener("taskrequested", onTaskRequested);
- or -
print3DManager.ontaskrequested = onTaskRequested;
Public Custom Event TaskRequested As TypedEventHandler(Of Print3DManager, Print3DTaskRequestedEventArgs)