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
- HandleCollector.cs
- ParamArrayAttribute.cs
- ArrayWithOffset.cs
- AssemblyUtil.cs
- ExpressionPrinter.cs
- Vector3DAnimationUsingKeyFrames.cs
- ThemeDictionaryExtension.cs
- cookieexception.cs
- Canvas.cs
- StyleBamlRecordReader.cs
- DataServicePagingProviderWrapper.cs
- XPathNodeInfoAtom.cs
- AnnouncementInnerClient11.cs
- XmlChildEnumerator.cs
- SystemFonts.cs
- PreProcessor.cs
- TabControlAutomationPeer.cs
- TextParaClient.cs
- LayoutManager.cs
- DependentList.cs
- Int32CollectionConverter.cs
- EncryptedType.cs
- oledbmetadatacollectionnames.cs
- InputBinding.cs
- CatalogPart.cs
- PolyQuadraticBezierSegment.cs
- dbdatarecord.cs
- EventArgs.cs
- DefaultObjectMappingItemCollection.cs
- ListenerElementsCollection.cs
- WeakHashtable.cs
- HighlightVisual.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- EntryPointNotFoundException.cs
- HtmlHistory.cs
- Highlights.cs
- SinglePageViewer.cs
- TransformCollection.cs
- WebPartConnectionsConnectVerb.cs
- SerializerWriterEventHandlers.cs
- PeerEndPoint.cs
- SchemaNamespaceManager.cs
- ProtocolsConfigurationHandler.cs
- SqlAliaser.cs
- OleDbParameterCollection.cs
- DiscreteKeyFrames.cs
- BCLDebug.cs
- ModuleElement.cs
- PrintDialogException.cs
- XamlStyleSerializer.cs
- ADMembershipProvider.cs
- StrokeNode.cs
- InvalidChannelBindingException.cs
- ExpressionConverter.cs
- Figure.cs
- CollectionContainer.cs
- LinkLabelLinkClickedEvent.cs
- AttributeXamlType.cs
- SqlConnectionPoolProviderInfo.cs
- TypeUsageBuilder.cs
- QuadTree.cs
- ClockGroup.cs
- BaseProcessor.cs
- ButtonBase.cs
- TriState.cs
- SolidColorBrush.cs
- CodeCommentStatementCollection.cs
- UnsafeNativeMethodsTablet.cs
- XmlValidatingReader.cs
- InvalidWMPVersionException.cs
- DBAsyncResult.cs
- FormatSettings.cs
- RadioButtonAutomationPeer.cs
- RadioButton.cs
- InfoCardMasterKey.cs
- BaseComponentEditor.cs
- MetadataArtifactLoaderComposite.cs
- Root.cs
- DataGridViewRowConverter.cs
- StringComparer.cs
- AllMembershipCondition.cs
- brushes.cs
- PostBackTrigger.cs
- datacache.cs
- WriteLine.cs
- SqlDataSourceView.cs
- Point4D.cs
- ErrorLog.cs
- ExpandSegmentCollection.cs
- Number.cs
- Binding.cs
- TraceContextRecord.cs
- SpecialNameAttribute.cs
- DataSourceGeneratorException.cs
- CssClassPropertyAttribute.cs
- Matrix.cs
- InputScopeNameConverter.cs
- NetNamedPipeBindingCollectionElement.cs
- XMLSyntaxException.cs
- StateBag.cs