Class ExecuteCommandEventArgs
Provides data for the ExecuteCommand event
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public sealed class ExecuteCommandEventArgs : EventArgs
Properties
CancellationToken
Declaration
public CancellationToken CancellationToken { get; }
Property Value
Type | Description |
---|---|
CancellationToken |
CompletionTask
Set this property to notify RobotStudio that this handler executes asynchronously
Declaration
public Task CompletionTask { get; set; }
Property Value
Type | Description |
---|---|
Task |
Id
ID of the corresponding CommandBarButton
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
This is provided for convenience; it is also reachable by casting the sender argument of the event handler to CommandBarButton
Reason
Gets the reason for the command execution.
Declaration
public ExecuteCommandReason Reason { get; }
Property Value
Type | Description |
---|---|
ExecuteCommandReason |