BatchServiceResponseException<TResponse extends ServiceResponse> constructor

BatchServiceResponseException<TResponse extends ServiceResponse>(
  1. ServiceResponseCollection<TResponse>? responses,
  2. String message, [
  3. Exception? innerException
])
Initializes a new instance of MultiServiceResponseException. The list of responses to be associated with this exception. The message that describes the error. Initializes a new instance of MultiServiceResponseException. The list of responses to be associated with this exception. The message that describes the error. The exception that is the cause of the current exception.

Implementation

//        BatchServiceResponseException(
//            ServiceResponseCollection<TResponse> serviceResponses,
//            String message)
//            : super(message)
//        {
//            EwsUtilities.Assert(
//                serviceResponses != null,
//                "MultiServiceResponseException.ctor",
//                "serviceResponses is null");
//
//            this.responses = serviceResponses;
//        }

/// <summary>
/// Initializes a new instance of MultiServiceResponseException.
/// </summary>
/// <param name="serviceResponses">The list of responses to be associated with this exception.</param>
/// <param name="message">The message that describes the error.</param>
/// <param name="innerException">The exception that is the cause of the current exception.</param>
BatchServiceResponseException(this.responses, String message,
    [Exception? innerException])
    : super(message, innerException);