コード例 #1
0
 /// <summary>
 /// <para>Displays details about a specific Connection including the order steps for the connection and the current state of the connection
 /// order.</para>
 /// </summary>
 /// 
 /// <param name="describeConnectionDetailRequest">Container for the necessary parameters to execute the DescribeConnectionDetail service method
 ///          on AmazonDirectConnect.</param>
 /// 
 /// <returns>The response from the DescribeConnectionDetail service method, as returned by AmazonDirectConnect.</returns>
 /// 
 /// <exception cref="DirectConnectServerException"/>
 /// <exception cref="DirectConnectClientException"/>
 public DescribeConnectionDetailResponse DescribeConnectionDetail(DescribeConnectionDetailRequest describeConnectionDetailRequest)
 {
     IAsyncResult asyncResult = invokeDescribeConnectionDetail(describeConnectionDetailRequest, null, null, true);
     return EndDescribeConnectionDetail(asyncResult);
 }
コード例 #2
0
 IAsyncResult invokeDescribeConnectionDetail(DescribeConnectionDetailRequest describeConnectionDetailRequest, AsyncCallback callback, object state, bool synchronized)
 {
     IRequest irequest = new DescribeConnectionDetailRequestMarshaller().Marshall(describeConnectionDetailRequest);
     var unmarshaller = DescribeConnectionDetailResponseUnmarshaller.GetInstance();
     AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller);
     Invoke(result);
     return result;
 }
コード例 #3
0
 /// <summary>
 /// Initiates the asynchronous execution of the DescribeConnectionDetail operation.
 /// <seealso cref="Amazon.DirectConnect.AmazonDirectConnect.DescribeConnectionDetail"/>
 /// </summary>
 /// 
 /// <param name="describeConnectionDetailRequest">Container for the necessary parameters to execute the DescribeConnectionDetail 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
 ///         EndDescribeConnectionDetail operation.</returns>
 public IAsyncResult BeginDescribeConnectionDetail(DescribeConnectionDetailRequest describeConnectionDetailRequest, AsyncCallback callback, object state)
 {
     return invokeDescribeConnectionDetail(describeConnectionDetailRequest, callback, state, false);
 }