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
- TraceData.cs
- StylusSystemGestureEventArgs.cs
- FaultDesigner.cs
- StreamMarshaler.cs
- PackageRelationshipCollection.cs
- ScriptServiceAttribute.cs
- SerializationInfoEnumerator.cs
- InvalidOleVariantTypeException.cs
- DefaultBinder.cs
- TableLayoutPanelBehavior.cs
- TableLayoutStyleCollection.cs
- ResXBuildProvider.cs
- CompositionTarget.cs
- CallbackCorrelationInitializer.cs
- WrappedIUnknown.cs
- CompositeFontParser.cs
- ReachBasicContext.cs
- StrokeDescriptor.cs
- FaultPropagationQuery.cs
- FastPropertyAccessor.cs
- SecureStringHasher.cs
- IndexedEnumerable.cs
- TreeNodeClickEventArgs.cs
- BindingCollection.cs
- ActivityFunc.cs
- ContainerSelectorActiveEvent.cs
- RightsManagementEncryptedStream.cs
- DrawingGroup.cs
- NullRuntimeConfig.cs
- QilLiteral.cs
- LastQueryOperator.cs
- EnumerableWrapperWeakToStrong.cs
- MailDefinition.cs
- JsonWriterDelegator.cs
- SnapshotChangeTrackingStrategy.cs
- PrintingPermissionAttribute.cs
- CompressionTracing.cs
- FastEncoder.cs
- MetadataItemEmitter.cs
- XmlSchemaElement.cs
- UseLicense.cs
- SystemUdpStatistics.cs
- AuthenticationModuleElementCollection.cs
- SendKeys.cs
- FilterException.cs
- TabControlAutomationPeer.cs
- FixedPageAutomationPeer.cs
- autovalidator.cs
- AsyncSerializedWorker.cs
- KeySpline.cs
- TextComposition.cs
- ColumnWidthChangedEvent.cs
- HandledEventArgs.cs
- AuthenticationService.cs
- PageCatalogPart.cs
- RsaSecurityTokenAuthenticator.cs
- ComponentDispatcherThread.cs
- DependencyObject.cs
- TextChangedEventArgs.cs
- EntityDataSourceContextDisposingEventArgs.cs
- PolyLineSegment.cs
- BitmapDownload.cs
- CachedPathData.cs
- HttpWriter.cs
- Menu.cs
- OracleBinary.cs
- URLString.cs
- OpacityConverter.cs
- SafeRegistryHandle.cs
- PageTheme.cs
- DockProviderWrapper.cs
- SqlTriggerAttribute.cs
- BulletDecorator.cs
- NameValueConfigurationCollection.cs
- Math.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DockPattern.cs
- DbConnectionPoolOptions.cs
- DataTable.cs
- InstanceDataCollectionCollection.cs
- CharEnumerator.cs
- AutomationIdentifierGuids.cs
- QueryServiceConfigHandle.cs
- ConstraintConverter.cs
- SourceSwitch.cs
- WebResponse.cs
- DocumentReference.cs
- QilTypeChecker.cs
- SudsCommon.cs
- StorageComplexTypeMapping.cs
- BlurBitmapEffect.cs
- UserPreferenceChangedEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- mediaclock.cs
- OdbcConnectionStringbuilder.cs
- HttpCookiesSection.cs
- CommentEmitter.cs
- TextModifier.cs
- LastQueryOperator.cs
- Hash.cs