Beispiel #1
0
/// <summary>
/// Begins an asynchronous invocation of the _NAME_ service.
/// </summary>
    void BeginAsyncCall()
    {
        _NAME_Request request = new _NAME_Request();

        // RequestParameters

        UpdateRequestHeader(request, requestHeader == null, "_NAME_");

        if (UseTransportChannel)
        {
            return(TransportChannel.BeginSendRequest(request, callback, asyncState));
        }

        return(InnerChannel.Begin_NAME_(new _NAME_Message(request), callback, asyncState));
    }