Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceHostFactory.cs / 1 / DataServiceHostFactory.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 { using System; using System.ServiceModel; using System.ServiceModel.Activation; ////// This structure supports the .NET Framework infrastructure and is /// not intended to be used directly from your code. /// ////// This class is used to hook up a WCF as a raw HTTP handler. /// public class DataServiceHostFactory : ServiceHostFactory { ////// Creates a ServiceHost for a specified type of service with a specific base address. /// /// Specifies the type of service to host. /// The Array of type Uri that contains the base addresses for the service hosted. ///A ServiceHost for the type of service specified with a specific base address. protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) { return new DataServiceHost(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 { using System; using System.ServiceModel; using System.ServiceModel.Activation; ////// This structure supports the .NET Framework infrastructure and is /// not intended to be used directly from your code. /// ////// This class is used to hook up a WCF as a raw HTTP handler. /// public class DataServiceHostFactory : ServiceHostFactory { ////// Creates a ServiceHost for a specified type of service with a specific base address. /// /// Specifies the type of service to host. /// The Array of type Uri that contains the base addresses for the service hosted. ///A ServiceHost for the type of service specified with a specific base address. protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) { return new DataServiceHost(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
- ThreadInterruptedException.cs
- Profiler.cs
- URI.cs
- OperationAbortedException.cs
- InternalConfigSettingsFactory.cs
- WebSysDescriptionAttribute.cs
- Preprocessor.cs
- ByteConverter.cs
- SecurityCredentialsManager.cs
- TypeBinaryExpression.cs
- TdsParserHelperClasses.cs
- IOException.cs
- XmlElementAttribute.cs
- OrthographicCamera.cs
- GridItemProviderWrapper.cs
- ConstrainedDataObject.cs
- EventRoute.cs
- InstallerTypeAttribute.cs
- ObjectToIdCache.cs
- Pointer.cs
- SafeRegistryHandle.cs
- TypeUtils.cs
- ToolStripContentPanel.cs
- COMException.cs
- IChannel.cs
- ComponentFactoryHelpers.cs
- __FastResourceComparer.cs
- DataGridTablesFactory.cs
- PresentationTraceSources.cs
- ManipulationLogic.cs
- ValueType.cs
- UnsafeNativeMethods.cs
- SqlColumnizer.cs
- LayoutEditorPart.cs
- WorkItem.cs
- ListViewItem.cs
- WSHttpSecurity.cs
- SqlSelectStatement.cs
- DispatcherOperation.cs
- ToolStripDropDownClosingEventArgs.cs
- FtpWebRequest.cs
- StatusBarDrawItemEvent.cs
- StreamDocument.cs
- NamespaceDecl.cs
- Positioning.cs
- Part.cs
- WorkItem.cs
- SemaphoreFullException.cs
- Selector.cs
- OperationCanceledException.cs
- TraceData.cs
- DataListItemCollection.cs
- TextLineBreak.cs
- ArrangedElement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CallId.cs
- querybuilder.cs
- OrderedDictionaryStateHelper.cs
- PackageRelationshipCollection.cs
- DataGridViewCellLinkedList.cs
- PrintDocument.cs
- Geometry3D.cs
- ActivationWorker.cs
- TextElement.cs
- FramingFormat.cs
- HttpCachePolicyElement.cs
- CheckoutException.cs
- X509ChainPolicy.cs
- OracleRowUpdatingEventArgs.cs
- AutomationPatternInfo.cs
- PageAsyncTask.cs
- DataPager.cs
- XmlSchemaSimpleContentRestriction.cs
- ServiceManager.cs
- AttributeEmitter.cs
- WebConfigurationHost.cs
- DataGridViewCellMouseEventArgs.cs
- CreateUserErrorEventArgs.cs
- AsyncOperationManager.cs
- PeerNameResolver.cs
- InsufficientMemoryException.cs
- CustomError.cs
- MonitoringDescriptionAttribute.cs
- PrincipalPermission.cs
- OutputScope.cs
- ConvertTextFrag.cs
- SQLRoleProvider.cs
- Lease.cs
- GradientStop.cs
- TextFormatterImp.cs
- UIAgentAsyncEndRequest.cs
- SqlMethodCallConverter.cs
- Comparer.cs
- ConsumerConnectionPointCollection.cs
- HybridDictionary.cs
- WindowsComboBox.cs
- BinaryObjectReader.cs
- DateTimeUtil.cs
- FormClosingEvent.cs
- XsltContext.cs