/// <summary> /// <para>Displays additional ordering step details for a specified Offering.</para> /// </summary> /// /// <param name="describeOfferingDetailRequest">Container for the necessary parameters to execute the DescribeOfferingDetail service method on /// AmazonDirectConnect.</param> /// /// <returns>The response from the DescribeOfferingDetail service method, as returned by AmazonDirectConnect.</returns> /// /// <exception cref="DirectConnectServerException"/> /// <exception cref="DirectConnectClientException"/> public DescribeOfferingDetailResponse DescribeOfferingDetail(DescribeOfferingDetailRequest describeOfferingDetailRequest) { IAsyncResult asyncResult = invokeDescribeOfferingDetail(describeOfferingDetailRequest, null, null, true); return EndDescribeOfferingDetail(asyncResult); }
IAsyncResult invokeDescribeOfferingDetail(DescribeOfferingDetailRequest describeOfferingDetailRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new DescribeOfferingDetailRequestMarshaller().Marshall(describeOfferingDetailRequest); var unmarshaller = DescribeOfferingDetailResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the DescribeOfferingDetail operation. /// <seealso cref="Amazon.DirectConnect.AmazonDirectConnect.DescribeOfferingDetail"/> /// </summary> /// /// <param name="describeOfferingDetailRequest">Container for the necessary parameters to execute the DescribeOfferingDetail operation on /// AmazonDirectConnect.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking /// EndDescribeOfferingDetail operation.</returns> public IAsyncResult BeginDescribeOfferingDetail(DescribeOfferingDetailRequest describeOfferingDetailRequest, AsyncCallback callback, object state) { return invokeDescribeOfferingDetail(describeOfferingDetailRequest, callback, state, false); }