Validator.ValidateAsync Method

Definition

Overloads

Name Description
ValidateAsync(ISource)

Asynchronously validates the specified input.

ValidateAsync(ISource, IResult)

Asynchronously validates the specified input and sends the augmented validation result to the specified output.

ValidateAsync(ISource)

Asynchronously validates the specified input.

public System.Threading.Tasks.Task ValidateAsync(Javax.Xml.Transform.ISource? source);
member this.ValidateAsync : Javax.Xml.Transform.ISource -> System.Threading.Tasks.Task

Parameters

source
ISource

The XML input to validate. This value must not be null.

Returns

A task that represents the asynchronous validation operation.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ValidateAsync(ISource, IResult)

Asynchronously validates the specified input and sends the augmented validation result to the specified output.

public System.Threading.Tasks.Task ValidateAsync(Javax.Xml.Transform.ISource? source, Javax.Xml.Transform.IResult? result);
member this.ValidateAsync : Javax.Xml.Transform.ISource * Javax.Xml.Transform.IResult -> System.Threading.Tasks.Task

Parameters

source
ISource

The XML input to validate. This value must not be null.

result
IResult

The output that receives the possibly augmented XML, or null if the output is not required.

Returns

A task that represents the asynchronous validation operation.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to