Response property

ServiceResponse get Response
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. / EwsUtilities.Assert(info != null, "ServiceResponseException.GetObjectData", "info is null"); Gets the ServiceResponse for the exception.

Implementation

//		protected ServiceResponseException(SerializationInfo info, StreamingContext context)
//			: super(info, context)
//		{
//			this.response = (ServiceResponse)info.GetValue("Response", typeof(ServiceResponse));
//		}

/// <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, "ServiceResponseException.GetObjectData", "info is null");
//
//			super.GetObjectData(info, context);
//
//			info.AddValue("Response", this.response, typeof(ServiceResponse));
//		}

/// <summary>
/// Gets the ServiceResponse for the exception.
/// </summary>
ServiceResponse get Response => this._response;