Initiates the asynchronous execution of the GetBucketLocation operation.
![](../icons/collapse_all.gif)
C# |
public IAsyncResult BeginGetBucketLocation( GetBucketLocationRequest request, AsyncCallback callback, Object state )
![](../icons/collapse_all.gif)
- request (GetBucketLocationRequest)
- The GetBucketLocationRequest that defines the parameters of the operation.
- callback (AsyncCallback)
- An AsyncCallback delegate that is invoked when the operation completes.
- state (Object)
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the AsyncState property.
![](../icons/collapse_all.gif)
An IAsyncResult that can be used to poll or wait for results, or both;
this value is also needed when invoking EndGetBucketLocation.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |
![](../icons/collapse_all.gif)
GetBucketLocation()()()()