Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / DuplexClientBase.cs / 1 / DuplexClientBase.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel { using System.ServiceModel.Channels; public abstract class DuplexClientBase: ClientBase where TChannel : class { // IMPORTANT: any changes to the set of protected .ctors of this class need to be reflected // in ServiceContractGenerator.cs as well. protected DuplexClientBase(object callbackInstance) : this(new InstanceContext(callbackInstance)) { } protected DuplexClientBase(object callbackInstance, string endpointConfigurationName) : this(new InstanceContext(callbackInstance), endpointConfigurationName) { } protected DuplexClientBase(object callbackInstance, string endpointConfigurationName, string remoteAddress) : this(new InstanceContext(callbackInstance), endpointConfigurationName, remoteAddress) { } protected DuplexClientBase(object callbackInstance, string endpointConfigurationName, EndpointAddress remoteAddress) : this(new InstanceContext(callbackInstance), endpointConfigurationName, remoteAddress) { } protected DuplexClientBase(object callbackInstance, Binding binding, EndpointAddress remoteAddress) : this(new InstanceContext(callbackInstance), binding, remoteAddress) { } protected DuplexClientBase(InstanceContext callbackInstance) :base(callbackInstance) { } protected DuplexClientBase(InstanceContext callbackInstance, string endpointConfigurationName) : base(callbackInstance, endpointConfigurationName) { } protected DuplexClientBase(InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) : base(callbackInstance, endpointConfigurationName, remoteAddress) { } protected DuplexClientBase(InstanceContext callbackInstance, string endpointConfigurationName, EndpointAddress remoteAddress) : base(callbackInstance, endpointConfigurationName, remoteAddress) { } protected DuplexClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress) : base(callbackInstance, binding, remoteAddress) { } protected override TChannel CreateChannel() { return this.ChannelFactory.CreateChannel(); } public IDuplexContextChannel InnerDuplexChannel { get { return (IDuplexContextChannel)InnerChannel; } } } } // 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
- DefaultValueAttribute.cs
- ImageIndexConverter.cs
- Assert.cs
- PointAnimation.cs
- NetworkInformationPermission.cs
- CodeVariableReferenceExpression.cs
- ClientSettingsProvider.cs
- TreeNodeBindingCollection.cs
- ArrayTypeMismatchException.cs
- X509ChainElement.cs
- BasicDesignerLoader.cs
- CodeFieldReferenceExpression.cs
- AccessText.cs
- XhtmlBasicImageAdapter.cs
- SystemKeyConverter.cs
- AppSettings.cs
- OAVariantLib.cs
- TransactionManager.cs
- EntitySetRetriever.cs
- MemoryMappedViewStream.cs
- XPathArrayIterator.cs
- hwndwrapper.cs
- PropertyPushdownHelper.cs
- XmlNodeList.cs
- SystemKeyConverter.cs
- OneOfScalarConst.cs
- HttpModuleCollection.cs
- DesignerActionList.cs
- DependencyObjectCodeDomSerializer.cs
- TypeSystemProvider.cs
- RawStylusInput.cs
- RuleSettingsCollection.cs
- ListView.cs
- PeerInputChannel.cs
- DbSetClause.cs
- DataControlPagerLinkButton.cs
- EdmRelationshipRoleAttribute.cs
- DbReferenceCollection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ReadOnlyObservableCollection.cs
- DrawListViewSubItemEventArgs.cs
- RijndaelManagedTransform.cs
- PeerChannelFactory.cs
- SoapSchemaImporter.cs
- GridView.cs
- Activator.cs
- MultiSelector.cs
- TimelineGroup.cs
- NativeMethods.cs
- UnsafeNativeMethods.cs
- RuntimeWrappedException.cs
- HyperLinkField.cs
- BitmapCodecInfo.cs
- IntegerValidator.cs
- Point3DConverter.cs
- AppearanceEditorPart.cs
- SqlException.cs
- ExpandableObjectConverter.cs
- XmlEncodedRawTextWriter.cs
- XmlArrayItemAttribute.cs
- EdmToObjectNamespaceMap.cs
- VisualProxy.cs
- GraphicsContainer.cs
- ConfigXmlCDataSection.cs
- ZipFileInfo.cs
- MeasureItemEvent.cs
- ExpressionBuilderCollection.cs
- HandoffBehavior.cs
- SiteMapDataSourceDesigner.cs
- WindowsStatic.cs
- OpCopier.cs
- TextParagraphView.cs
- __FastResourceComparer.cs
- CodeThrowExceptionStatement.cs
- UrlMappingCollection.cs
- xamlnodes.cs
- SimpleLine.cs
- EnumCodeDomSerializer.cs
- TemplateControlCodeDomTreeGenerator.cs
- DTCTransactionManager.cs
- OracleCommandBuilder.cs
- Win32Native.cs
- AnnotationObservableCollection.cs
- XPathMultyIterator.cs
- TypeConverter.cs
- DrawingImage.cs
- BitmapEffectOutputConnector.cs
- MouseEvent.cs
- MouseGesture.cs
- Tag.cs
- XmlEncoding.cs
- HandlerMappingMemo.cs
- SmtpNetworkElement.cs
- CleanUpVirtualizedItemEventArgs.cs
- WebEventCodes.cs
- RevocationPoint.cs
- WrapPanel.cs
- _AuthenticationState.cs
- _NegoState.cs
- Config.cs