Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / ComIntegration / WasHostedComPlusFactory.cs / 1 / WasHostedComPlusFactory.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.ComIntegration { using System.ServiceModel.Activation; public sealed class WasHostedComPlusFactory : ServiceHostFactoryBase { public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses) { if (!ServiceHostingEnvironment.IsHosted) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.Hosting_ProcessNotExecutingUnderHostedContext, "WasHostedComPlusFactory.CreateServiceHost"))); } if (string.IsNullOrEmpty(constructorString)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.Hosting_ServiceTypeNotProvided))); } return new WebHostedComPlusServiceHost(constructorString, baseAddresses); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourcePermissionBase.cs
- DrawingImage.cs
- EncoderBestFitFallback.cs
- KeyInfo.cs
- BasicHttpSecurity.cs
- VariableExpressionConverter.cs
- XmlSchemaCompilationSettings.cs
- SystemIPGlobalProperties.cs
- XmlNamespaceManager.cs
- SelectedDatesCollection.cs
- DataIdProcessor.cs
- ButtonFlatAdapter.cs
- EFAssociationProvider.cs
- MenuCommand.cs
- BufferedOutputStream.cs
- ToolStripGrip.cs
- AssociationTypeEmitter.cs
- MetadataCollection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- HttpCapabilitiesSectionHandler.cs
- SystemResourceKey.cs
- querybuilder.cs
- Simplifier.cs
- DoubleUtil.cs
- SqlDeflator.cs
- SqlCrossApplyToCrossJoin.cs
- DmlSqlGenerator.cs
- _AutoWebProxyScriptEngine.cs
- HyperLinkStyle.cs
- RoleGroup.cs
- Helpers.cs
- IndentTextWriter.cs
- SrgsElementFactory.cs
- SerializableReadOnlyDictionary.cs
- unsafenativemethodsother.cs
- OracleColumn.cs
- LinearGradientBrush.cs
- TablePattern.cs
- TextTrailingCharacterEllipsis.cs
- PersonalizationState.cs
- GradientStop.cs
- FixUpCollection.cs
- EventItfInfo.cs
- TableAdapterManagerMethodGenerator.cs
- ServerReliableChannelBinder.cs
- DataKeyCollection.cs
- RecordManager.cs
- ErrorHandler.cs
- ResolveMatchesApril2005.cs
- FixedPage.cs
- KeyConstraint.cs
- RightNameExpirationInfoPair.cs
- RC2CryptoServiceProvider.cs
- AssemblyGen.cs
- ShutDownListener.cs
- AttachedPropertyInfo.cs
- ImageInfo.cs
- OdbcConnectionFactory.cs
- MailBnfHelper.cs
- GradientStop.cs
- NativeMethods.cs
- MessageSmuggler.cs
- SerializerProvider.cs
- RemoteWebConfigurationHostStream.cs
- __ComObject.cs
- WhileDesigner.cs
- AdornerDecorator.cs
- BinaryReader.cs
- CollectionChangedEventManager.cs
- DebugInfoExpression.cs
- AdapterDictionary.cs
- IEnumerable.cs
- Nodes.cs
- BamlLocalizationDictionary.cs
- LocatorBase.cs
- DbDataAdapter.cs
- HttpHostedTransportConfiguration.cs
- CellQuery.cs
- BamlResourceDeserializer.cs
- OrderedDictionaryStateHelper.cs
- AsymmetricSignatureDeformatter.cs
- TransformCollection.cs
- WpfXamlMember.cs
- CheckBoxFlatAdapter.cs
- GeneralTransform3D.cs
- ExpressionDumper.cs
- BindingListCollectionView.cs
- XamlTreeBuilder.cs
- BasePattern.cs
- SqlXml.cs
- Stackframe.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PrimitiveList.cs
- NegationPusher.cs
- TimelineGroup.cs
- HttpHandlerAction.cs
- QilPatternFactory.cs
- ClientTargetSection.cs
- StrokeNode.cs
- ChangeToolStripParentVerb.cs