Print3DManager.TaskRequested 事件

定义

在创建新的 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) 

事件类型

适用于