internal DisableDomainTransferLockResponse DisableDomainTransferLock(DisableDomainTransferLockRequest request) { var marshaller = new DisableDomainTransferLockRequestMarshaller(); var unmarshaller = DisableDomainTransferLockResponseUnmarshaller.Instance; return(Invoke <DisableDomainTransferLockRequest, DisableDomainTransferLockResponse>(request, marshaller, unmarshaller)); }
internal DisableDomainTransferLockResponse DisableDomainTransferLock(DisableDomainTransferLockRequest request) { var task = DisableDomainTransferLockAsync(request); try { return(task.Result); } catch (AggregateException e) { ExceptionDispatchInfo.Capture(e.InnerException).Throw(); return(null); } }
/// <summary> /// Initiates the asynchronous execution of the DisableDomainTransferLock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisableDomainTransferLock operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task <DisableDomainTransferLockResponse> DisableDomainTransferLockAsync(DisableDomainTransferLockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DisableDomainTransferLockRequestMarshaller(); var unmarshaller = DisableDomainTransferLockResponseUnmarshaller.Instance; return(InvokeAsync <DisableDomainTransferLockRequest, DisableDomainTransferLockResponse>(request, marshaller, unmarshaller, cancellationToken)); }