AWS SDK for .NET Documentation
BeginAddRoleToInstanceProfile Method (request, callback, state)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceBeginAddRoleToInstanceProfile(AddRoleToInstanceProfileRequest, AsyncCallback, Object) Did this page help you?   Yes   No    Tell us about it...
Initiates the asynchronous execution of the AddRoleToInstanceProfile operation.
Declaration Syntax
C#
IAsyncResult BeginAddRoleToInstanceProfile(
	AddRoleToInstanceProfileRequest request,
	AsyncCallback callback,
	Object state
)
Parameters
request (AddRoleToInstanceProfileRequest)
Container for the necessary parameters to execute the AddRoleToInstanceProfile operation on AmazonIdentityManagementServiceClient.
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.
Return Value
An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddRoleToInstanceProfile operation.
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)