VoiceLiveModelFactory.SessionUpdateError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Details of the error.
Returns
A new SessionUpdateError instance for mocking.