Amazon.S3.Util.S3PostUploadException.S3PostUploadException C# (CSharp) Method

S3PostUploadException() protected method

Constructs a new instance of the S3PostUploadException class with serialized data.
The parameter is null. The class name is null or is zero (0).
protected S3PostUploadException ( System info, System context ) : System
info System The that holds the serialized object data about the exception being thrown.
context System The that contains contextual information about the source or destination.
return System
        protected S3PostUploadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        {
            if (info != null)
            {
                this.ErrorCode = info.GetString("ErrorCode");
                this.RequestId = info.GetString("RequestId");
                this.HostId = info.GetString("HostId");
                this.StatusCode = (HttpStatusCode)info.GetValue("StatusCode", typeof(HttpStatusCode));
                this.ExtraFields = (IDictionary<string, string>)info.GetValue("ExtraFields", typeof(IDictionary<string, string>));
            }
        }

Same methods

S3PostUploadException::S3PostUploadException ( string message ) : System
S3PostUploadException::S3PostUploadException ( string errorCode, string message ) : System