Initiates the asynchronous execution of the GetBucketPolicy operation.
![](../icons/collapse_all.gif)
C# |
public IAsyncResult BeginGetBucketPolicy( GetBucketPolicyRequest request, AsyncCallback callback, Object state )
![](../icons/collapse_all.gif)
- request (GetBucketPolicyRequest)
- The GetBucketPolicyRequest 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 EndGetBucketPolicy.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |
![](../icons/collapse_all.gif)
GetBucketPolicy()()()()