/// <summary> /// Creates a new <c>ComputeCommandStatusArgs</c> instance. /// </summary> /// <param name="ev"> The event representing the command that had its status changed. </param> /// <param name="status"> The status of the command. </param> public ComputeCommandStatusArgs(ComputeEventBase ev, ComputeCommandExecutionStatus status) { Event = ev; Status = status; }
/// <summary> /// Creates a new <c>ComputeCommandStatusArgs</c> instance. /// </summary> /// <param name="ev"> The event representing the command that had its status changed. </param> /// <param name="status"> The status of the command. </param> public ComputeCommandStatusArgs(ComputeEventBase ev, ComputeCommandExecutionStatus status) { Event = ev; Status = status; }
///<summary> ///Sets the new status of the <see cref = "ComputeUserEvent"/>. ///</summary> ///<param name = "status">> new status of the <see cref = "ComputeUserEvent"/>. Allowed value is <see cref = "ComputeCommandExecutionStatus.Complete"/>. </param> public void SetStatus(ComputeCommandExecutionStatus status) { SetStatus((int)status); }
/// <summary> /// Sets the new status of the <see cref="ComputeUserEvent"/>. /// </summary> /// <param name="status"> The new status of the <see cref="ComputeUserEvent"/>. Allowed value is <see cref="ComputeCommandExecutionStatus.Complete"/>. </param> public void SetStatus(ComputeCommandExecutionStatus status) { SetStatus((int)status); }