InputFormatterResult Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Risultato di un'operazione ReadAsync(InputFormatterContext) .
public ref class InputFormatterResult
public class InputFormatterResult
type InputFormatterResult = class
Public Class InputFormatterResult
- Ereditarietà
-
InputFormatterResult
Proprietà
| HasError |
Ottiene un'indicazione se l'operazione ReadAsync(InputFormatterContext) ha avuto un errore. |
| IsModelSet |
Ottiene un'indicazione se è stato specificato un valore per la Model proprietà . |
| Model |
Ottiene l'oggetto deserializzato Object. |
Metodi
| Failure() |
Restituisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) non è riuscita. |
| FailureAsync() |
Restituisce un oggetto Task che al completamento fornisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) non è riuscita. |
| NoValue() |
Restituisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) non ha prodotto alcun valore. |
| NoValueAsync() |
Restituisce un oggetto Task che al completamento fornisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) non ha prodotto alcun valore. |
| Success(Object) |
Restituisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) è riuscita. |
| SuccessAsync(Object) |
Restituisce un oggetto Task che al completamento fornisce un valore InputFormatterResult che indica che l'operazione ReadAsync(InputFormatterContext) è stata completata correttamente. |