Share via


VoiceLiveModelFactory.SessionUpdateError Method

Definition

Returned when an error occurs, which could be a client problem or a server problem. Most errors are recoverable and the session will stay open, we recommend to implementors to monitor and log error messages by default.

public static Azure.AI.VoiceLive.SessionUpdateError SessionUpdateError(string eventId = default, Azure.AI.VoiceLive.SessionUpdateErrorDetails error = default);
static member SessionUpdateError : string * Azure.AI.VoiceLive.SessionUpdateErrorDetails -> Azure.AI.VoiceLive.SessionUpdateError
Public Shared Function SessionUpdateError (Optional eventId As String = Nothing, Optional error As SessionUpdateErrorDetails = Nothing) As SessionUpdateError

Parameters

eventId
String
error
SessionUpdateErrorDetails

Details of the error.

Returns

A new SessionUpdateError instance for mocking.

Applies to