Class BotActionFailedEventArgs
The event where an action fails to run.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public class BotActionFailedEventArgs : BotActionEventArgs
Remarks
Initializes a new instance of the BotActionFailedEventArgs class.
Constructors
View SourceBotActionFailedEventArgs(object, Exception)
The event where an action fails to run.
Declaration
public BotActionFailedEventArgs(object action, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
object | action | The action that failed. |
Exception | exception | the exception that occurred. |
Remarks
Initializes a new instance of the BotActionFailedEventArgs class.
Properties
View SourceException
Gets the exception that occurred.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |