OperationResult.Failed(OperationError[]) 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.
Creates an OperationResult indicating a failed operation, with a list of errors if applicable.
public static Microsoft.Agents.A365.Runtime.OperationResult Failed(params Microsoft.Agents.A365.Runtime.OperationError[] errors);
static member Failed : Microsoft.Agents.A365.Runtime.OperationError[] -> Microsoft.Agents.A365.Runtime.OperationResult
Public Shared Function Failed (ParamArray errors As OperationError()) As OperationResult
Parameters
- errors
- OperationError[]
An optional array of OperationError which caused the operation to fail.
Returns
An OperationResult indicating a failed operation, with a list of errors if applicable.