DataServiceHost.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHost.cs / 1 / DataServiceHost.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
//      Provides a way to hook up a WCF service as a raw HTTP handler.
//  
// 
// @owner  [....]
//--------------------------------------------------------------------- 

namespace System.Data.Services
{
    #region Namespaces. 

    using System; 
    using System.ServiceModel.Web; 

    #endregion Namespaces. 

    /// 
    /// This structure supports the .NET Framework infrastructure and is
    /// not intended to be used directly from your code. 
    /// 
    ///  
    /// Provides a host for services of type DataService. 
    /// 
    [CLSCompliant(false)] 
    public class DataServiceHost : WebServiceHost
    {
        /// 
        /// Initializes a new instance of the ServiceHost class with the type 
        /// of service and its base addresses specified.
        ///  
        /// The type of hosted service. 
        /// An array of type Uri that contains the base addresses for the hosted service.
        public DataServiceHost(Type serviceType, Uri[] baseAddresses) 
            : base(serviceType, baseAddresses)
        {
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
//      Provides a way to hook up a WCF service as a raw HTTP handler.
//  
// 
// @owner  [....]
//--------------------------------------------------------------------- 

namespace System.Data.Services
{
    #region Namespaces. 

    using System; 
    using System.ServiceModel.Web; 

    #endregion Namespaces. 

    /// 
    /// This structure supports the .NET Framework infrastructure and is
    /// not intended to be used directly from your code. 
    /// 
    ///  
    /// Provides a host for services of type DataService. 
    /// 
    [CLSCompliant(false)] 
    public class DataServiceHost : WebServiceHost
    {
        /// 
        /// Initializes a new instance of the ServiceHost class with the type 
        /// of service and its base addresses specified.
        ///  
        /// The type of hosted service. 
        /// An array of type Uri that contains the base addresses for the hosted service.
        public DataServiceHost(Type serviceType, Uri[] baseAddresses) 
            : base(serviceType, baseAddresses)
        {
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

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