Class
CancelResponseAction

Represents a response action that cancels the message interaction.

Definition

Constructors

CancelResponseAction(MessageBase)

Initializes a new instance of the CancelResponseAction class.

Declaration

cs-api-definition
public CancelResponseAction(MessageBase message)

Parameters

message

MessageBase

CancelResponseAction(MessageBase, string)

Initializes a new instance of the CancelResponseAction class.

Declaration

cs-api-definition
public CancelResponseAction(MessageBase message, string text)

Parameters

message

MessageBase

text

string

Properties

Command

Gets the command associated with the response action.

Declaration

cs-api-definition
public override ICommand Command { get; }

Property Value

ICommand

Overrides ResponseAction.Command

PreCancelAction

Gets or sets an action that is invoked before OnCancelMessageResult.

Declaration

cs-api-definition
public Action<MessageBase> PreCancelAction { get; set; }

Property Value

Action<MessageBase>