Show / Hide Table of Contents

Class BotEventArgs

The event arguments for bot events.

Inheritance
object
LogEventArgs
BotEventArgs
UrgeEventArgs
Inherited Members
LogEventArgs.Source
LogEventArgs.MessageType
LogEventArgs.Message
LogEventArgs.ToString()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public class BotEventArgs : LogEventArgs

Constructors

View Source

BotEventArgs()

Initializes a new instance of the BotEventArgs class.

Declaration
public BotEventArgs()
View Source

BotEventArgs(string?, string?, string?)

Initializes a new instance of the BotEventArgs class.

Declaration
public BotEventArgs(string? botName, string? messageType = null, string? message = null)
Parameters
Type Name Description
string botName

The bot name.

string messageType

The message type.

string message

The message.

Properties

View Source

Action

Gets or sets the action for the event.

Declaration
public object? Action { get; set; }
Property Value
Type Description
object

Methods

View Source

ShouldSerializeAction()

Returns whether or not the action should be serialized.

Declaration
public bool ShouldSerializeAction()
Returns
Type Description
bool

Whether or not the action should be serialized.

  • View Source
In this article
Back to top Generated by DocFX