Print3DManager.TaskRequested 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 a new 3D print job has been created.
// 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)