SynchronousMethodExceptionBehavior
Class
Definition
A BatchClientBehavior which specifies how exceptions should be thrown from synchronous methods.
public class SynchronousMethodExceptionBehavior : Microsoft.Azure.Batch.BatchClientBehavior
- Inheritance
Remarks
By default, synchronous methods throw the same exceptions as asynchronous ones. For compatability with versions of the Azure.Batch client prior to 4.0, you can specify the ThrowAggregateException behavior to wrap exceptions thrown from synchronous methods in an AggregateException.
Fields
| ThrowAggregateException |
This behavior causes synchronous methods to throw AggregateException on failure. |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |