Compartilhar via


MessageStreamEvent Struct

Definition

Message operation related streaming events.

public readonly struct MessageStreamEvent : IEquatable<Azure.AI.Projects.MessageStreamEvent>
type MessageStreamEvent = struct
Public Structure MessageStreamEvent
Implements IEquatable(Of MessageStreamEvent)
Inheritance
MessageStreamEvent
Implements

Constructors

MessageStreamEvent(String)

Initializes a new instance of MessageStreamEvent.

Properties

ThreadMessageCompleted

Event sent when a message is completed. The data of this event is of type ThreadMessage.

ThreadMessageCreated

Event sent when a new message is created. The data of this event is of type ThreadMessage.

ThreadMessageDelta

Event sent when a message is being streamed. The data of this event is of type MessageDeltaChunk.

ThreadMessageIncomplete

Event sent before a message is completed. The data of this event is of type ThreadMessage.

ThreadMessageInProgress

Event sent when a message moves to in_progress status. The data of this event is of type ThreadMessage.

Methods

Equals(MessageStreamEvent)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(MessageStreamEvent, MessageStreamEvent)

Determines if two MessageStreamEvent values are the same.

Implicit(String to MessageStreamEvent)

Converts a String to a MessageStreamEvent.

Inequality(MessageStreamEvent, MessageStreamEvent)

Determines if two MessageStreamEvent values are not the same.

Applies to