ErrorHandlingMode property
ServiceErrorHandling?
get
ErrorHandlingMode
Implementation
// ServiceResponseCollection<TResponse> EndExecute(IAsyncResult asyncResult)
// {
// ServiceResponseCollection<TResponse> serviceResponses = (ServiceResponseCollection<TResponse>)this.EndInternalExecute(asyncResult);
//
// if (this.ErrorHandlingMode == ServiceErrorHandling.ThrowOnError)
// {
//// EwsUtilities.Assert(
//// serviceResponses.Count == 1,
//// "MultiResponseServiceRequest.Execute",
//// "ServiceErrorHandling.ThrowOnError error handling is only valid for singleton request");
//
// serviceResponses[0].ThrowIfNecessary();
// }
//
// return serviceResponses;
// }
/// <summary>
/// Gets a value indicating how errors should be handled.
/// </summary>
ServiceErrorHandling? get ErrorHandlingMode => this.errorHandlingMode;