Del via


ErrorRealtimeServerMessage Class

Definition

Represents a real-time server error message.

public ref class ErrorRealtimeServerMessage : Microsoft::Extensions::AI::RealtimeServerMessage
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class ErrorRealtimeServerMessage : Microsoft.Extensions.AI.RealtimeServerMessage
public class ErrorRealtimeServerMessage : Microsoft.Extensions.AI.RealtimeServerMessage
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ErrorRealtimeServerMessage = class
    inherit RealtimeServerMessage
type ErrorRealtimeServerMessage = class
    inherit RealtimeServerMessage
Public Class ErrorRealtimeServerMessage
Inherits RealtimeServerMessage
Inheritance
ErrorRealtimeServerMessage
Attributes

Remarks

Used with the Error.

Constructors

Name Description
ErrorRealtimeServerMessage()

Initializes a new instance of the ErrorRealtimeServerMessage class.

Properties

Name Description
Error

Gets or sets the error content associated with the error message.

MessageId

Gets or sets the optional message ID associated with the response. This can be used for tracking and correlation purposes.

(Inherited from RealtimeServerMessage)
OriginatingMessageId

Gets or sets the ID of the client message that caused the error.

RawRepresentation

Gets or sets the raw representation of the response. This can be used to hold the original data structure received from the model.

(Inherited from RealtimeServerMessage)
Type

Gets or sets the type of the real-time response.

(Inherited from RealtimeServerMessage)

Applies to