Compartilhar via


CancellationDetails.FromResult(RecognitionResult) Método

Definição

Cria uma instância CancellationDetails para o SpeechRecognitionResult cancelado.

public static Microsoft.CognitiveServices.Speech.CancellationDetails FromResult (Microsoft.CognitiveServices.Speech.RecognitionResult result);
static member FromResult : Microsoft.CognitiveServices.Speech.RecognitionResult -> Microsoft.CognitiveServices.Speech.CancellationDetails
Public Shared Function FromResult (result As RecognitionResult) As CancellationDetails

Parâmetros

result
RecognitionResult

O resultado que foi cancelado.

Retornos

O objeto CancellationDetails que está sendo criado.

Aplica-se a