Amazon.IoT.AmazonIoTClient.BeginGetRegistrationCode C# (CSharp) Метод

BeginGetRegistrationCode() публичный Метод

Initiates the asynchronous execution of the GetRegistrationCode operation.
public BeginGetRegistrationCode ( GetRegistrationCodeRequest request, AsyncCallback callback, object state ) : IAsyncResult
request GetRegistrationCodeRequest Container for the necessary parameters to execute the GetRegistrationCode operation on AmazonIoTClient.
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.
Результат IAsyncResult
        public IAsyncResult BeginGetRegistrationCode(GetRegistrationCodeRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetRegistrationCodeRequestMarshaller();
            var unmarshaller = GetRegistrationCodeResponseUnmarshaller.Instance;

            return BeginInvoke<GetRegistrationCodeRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonIoTClient