Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RotateTransform3D.cs
- PropertyInfoSet.cs
- RightsManagementPermission.cs
- Internal.cs
- SetUserPreferenceRequest.cs
- QilDataSource.cs
- VisualStyleRenderer.cs
- PositiveTimeSpanValidatorAttribute.cs
- ObjectDataSourceDisposingEventArgs.cs
- EventMap.cs
- Window.cs
- FormattedText.cs
- FixedSchema.cs
- SchemaElementLookUpTableEnumerator.cs
- DataControlPagerLinkButton.cs
- VersionValidator.cs
- CookieProtection.cs
- WebServiceResponse.cs
- DisposableCollectionWrapper.cs
- VisualCollection.cs
- HyperLinkField.cs
- BaseParagraph.cs
- XomlSerializationHelpers.cs
- ValidatingReaderNodeData.cs
- DataControlLinkButton.cs
- DynamicPropertyHolder.cs
- ObservableDictionary.cs
- EventHandlers.cs
- WebConfigurationFileMap.cs
- GenericRootAutomationPeer.cs
- MachineSettingsSection.cs
- PersonalizationEntry.cs
- EndpointIdentity.cs
- CodeDirectoryCompiler.cs
- WebHeaderCollection.cs
- Splitter.cs
- DBSqlParser.cs
- TraceContextEventArgs.cs
- LinkClickEvent.cs
- OutputCacheModule.cs
- AndCondition.cs
- TemplateContent.cs
- XmlCodeExporter.cs
- EntityModelBuildProvider.cs
- NetCodeGroup.cs
- CodeTypeDelegate.cs
- DataKey.cs
- FamilyCollection.cs
- XmlName.cs
- EncryptedData.cs
- SByte.cs
- ListMarkerLine.cs
- WebPartCollection.cs
- SecureEnvironment.cs
- DbConnectionStringBuilder.cs
- LayoutTableCell.cs
- PixelFormat.cs
- CheckBox.cs
- ContentPresenter.cs
- UrlMappingsModule.cs
- Error.cs
- Compensate.cs
- metadatamappinghashervisitor.cs
- DataGridViewCellPaintingEventArgs.cs
- Bidi.cs
- compensatingcollection.cs
- PassportAuthenticationModule.cs
- CustomCredentialPolicy.cs
- ButtonChrome.cs
- SessionStateSection.cs
- DataErrorValidationRule.cs
- ValidationSummary.cs
- FixedSOMTableRow.cs
- TypeDependencyAttribute.cs
- MenuItemBindingCollection.cs
- LookupBindingPropertiesAttribute.cs
- CompilerCollection.cs
- InputBindingCollection.cs
- DiagnosticTraceSchemas.cs
- Span.cs
- DocumentOrderQuery.cs
- CalendarTable.cs
- TypeSystem.cs
- JumpTask.cs
- XPathPatternBuilder.cs
- HtmlControlPersistable.cs
- LinkLabel.cs
- ellipse.cs
- MultiSelector.cs
- ColumnHeader.cs
- XpsResourceDictionary.cs
- XmlUtil.cs
- DataGridComponentEditor.cs
- UserMapPath.cs
- FormConverter.cs
- CapacityStreamGeometryContext.cs
- ConnectionProviderAttribute.cs
- OLEDB_Util.cs
- HitTestFilterBehavior.cs
- SoapMessage.cs