ServiceResponses property

ServiceResponseCollection<TResponse>? ServiceResponses
Initializes a new instance of the The object that holds the serialized object data. The contextual information about the source or destination. Sets the The object that holds the serialized object data. The contextual information about the source or destination. Gets a list of responses returned by the web method.

Implementation

//		protected BatchServiceResponseException(SerializationInfo info, StreamingContext context)
//			: super(info, context)
//		{
//			this.responses = (ServiceResponseCollection<TResponse>)info.GetValue("Responses", typeof(ServiceResponseCollection<TResponse>));
//		}

/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the parameter name and additional exception information.</summary>
/// <param name="info">The object that holds the serialized object data. </param>
/// <param name="context">The contextual information about the source or destination. </param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> object is a null reference (Nothing in Visual Basic). </exception>
//@override
// void GetObjectData(SerializationInfo info, StreamingContext context)
//		{
//			EwsUtilities.Assert(info != null, "BatchServiceResponseException.GetObjectData", "info is null");
//
//			base.GetObjectData(info, context);
//
//			info.AddValue("Responses", this.responses, typeof(ServiceResponseCollection<TResponse>));
//		}

/// <summary>
/// Gets a list of responses returned by the web method.
/// </summary>
ServiceResponseCollection<TResponse>? get ServiceResponses => this.responses;