共用方式為


TurnStatusReceivedEventArgs Class

Definition

Class for event arguments raised when a turn status event is generated by the dialog service. Added in 1.15.0

public sealed class TurnStatusReceivedEventArgs
type TurnStatusReceivedEventArgs = class
Public NotInheritable Class TurnStatusReceivedEventArgs
Inheritance
TurnStatusReceivedEventArgs

Remarks

These arguments indicate execution success or failure for a dialog backend turn, correlated to a specific interaction and conversation, even in cases where that backend cannot be reached due to network routing or other failure conditions.

Properties

ConversationId

Retrieves the conversation ID associated with this turn status event. Conversations may span multiple interactions. A client can try to resume or retry a conversation.

InteractionId

Retrieves the interaction ID associated with this turn status event. Interaction ID generally corresponds to a single input signal (e.g. voice utterance) or data/activity transaction and will correlate to replyToId fields in Bot Framework activities.

StatusCode

Retrieves the numeric status code associated with this turn status event. These typically correspond to standard HTTP status codes such as 200 (OK), 400 (Failure/Bad Request), and 429 (Timeout/Throttled).

Applies to