Class EC2UnmarshallerContext
public class EC2UnmarshallerContext : XmlUnmarshallerContext, IDisposable
  - Inheritance
 - 
      
      
      
      EC2UnmarshallerContext
 
- Implements
 
- Inherited Members
 
Constructors
EC2UnmarshallerContext(Stream, bool, IWebResponseData, bool)
Wrap an XmlTextReader with state for event-based parsing of an XML stream.
public EC2UnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData responseData, bool isException = false)
  Parameters
responseStreamStreamStreamwith the XML from a service response.maintainResponseBodyboolIf set to true, maintains a copy of the complete response body constraint to log response size as the stream is being read.
responseDataIWebResponseDataResponse data coming back from the request
isExceptionboolIf set to true, maintains a copy of the complete response body as the stream is being read.
EC2UnmarshallerContext(Stream, bool, IWebResponseData, bool, IRequestContext)
Wrap an XmlTextReader with state for event-based parsing of an XML stream.
public EC2UnmarshallerContext(Stream responseStream, bool maintainResponseBody, IWebResponseData responseData, bool isException, IRequestContext requestContext)
  Parameters
responseStreamStreamStreamwith the XML from a service response.maintainResponseBodyboolIf set to true, maintains a copy of the complete response body constraint to log response size as the stream is being read.
responseDataIWebResponseDataResponse data coming back from the request
isExceptionboolIf set to true, maintains a copy of the complete response body as the stream is being read.
requestContextIRequestContextContext for the request that produced this response
Properties
RequestId
RequestId value, if found in response
public string RequestId { get; }
  Property Value
Methods
Read()
Reads to the next node in the XML document, and updates the context accordingly. If node is RequestId, reads the contents and stores in RequestId property.
public override bool Read()
  Returns
- bool
 True if a node was read, false if there are no more elements to read./