UIAgentAsyncParams.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / UIAgentAsyncParams.cs / 1 / UIAgentAsyncParams.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------
namespace Microsoft.InfoCards
{ 
    using Microsoft.Win32.SafeHandles;
 
    // 
    // Summary:
    // This class is meant as the base of any classes used to pass parameters to Async RPC operations. 
    //
    internal class UIAgentAsyncParams : AsyncParams
    {
 
        UIAgentRequest  m_agentRequest;
 
        // 
        // Summary:
        // Construct a new AsyncParam instance. 
        //
        // Parameters:
        // optype      - The name of request type that started this async request.
        // request     - The request associated with this Async op. 
        // opType      - The type of operation this AsyncParams instance is associated with.
        // externEvent - A native event to be signalled when the operation is complete. 
        // 
        public UIAgentAsyncParams(
                    string opType, 
                    ClientRequest request,
                    SafeWaitHandle externEvent,
                    UIAgentRequest agentRequest )
                : base( request, opType, externEvent ) 
        {
            m_agentRequest = agentRequest; 
        } 

        // 
        // Return the UI Agent request.
        //
        public UIAgentRequest AgentRequest
        { 
            get { return m_agentRequest; }
        } 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK