InputFormatterResult Class

Definition

Result of a ReadAsync(InputFormatterContext) operation.

public ref class InputFormatterResult
public class InputFormatterResult
type InputFormatterResult = class
Public Class InputFormatterResult
Inheritance
InputFormatterResult

Properties

HasError

Gets an indication whether the ReadAsync(InputFormatterContext) operation had an error.

IsModelSet

Gets an indication whether a value for the Model property was supplied.

Model

Gets the deserialized Object.

Methods

Failure()

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation failed.

FailureAsync()

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation failed.

NoValue()

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation produced no value.

NoValueAsync()

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation produced no value.

Success(Object)

Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation was successful.

SuccessAsync(Object)

Returns a Task that on completion provides an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation was successful.

Applies to