Returns information about the CreateVault response and response metadata.
상속: CreateVaultResult
        private static void UnmarshallResult(JsonUnmarshallerContext context,CreateVaultResponse response)
        {
          

            if (context.ResponseData.GetHeaderValue("Location") != null)
                response.Location = context.ResponseData.GetHeaderValue("Location");            
            return;
        }                        
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>  
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreateVaultResponse response = new CreateVaultResponse();

            if (context.ResponseData.IsHeaderPresent("Location"))
                response.Location = context.ResponseData.GetHeaderValue("Location");

            return response;
        }
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   CreateVaultResponse response = new CreateVaultResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
예제 #4
0
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreateVaultResponse response = new CreateVaultResponse();

              context.Read();

              response.CreateVaultResult = CreateVaultResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }