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
- QilUnary.cs
- RemoteCryptoDecryptRequest.cs
- RadioButtonStandardAdapter.cs
- TreeIterator.cs
- ObjectQueryProvider.cs
- WebPartTransformerCollection.cs
- ToolStripGripRenderEventArgs.cs
- WindowsTokenRoleProvider.cs
- BaseParaClient.cs
- NamespaceCollection.cs
- WebRequestModulesSection.cs
- _UriSyntax.cs
- Size3DConverter.cs
- ConfigurationSectionGroup.cs
- CheckoutException.cs
- WorkflowStateRollbackService.cs
- OleTxTransactionInfo.cs
- ModelItem.cs
- NamedPipeHostedTransportConfiguration.cs
- PropertyMap.cs
- InheritanceAttribute.cs
- SharedConnectionListener.cs
- UnhandledExceptionEventArgs.cs
- VirtualizedItemPattern.cs
- SelectedPathEditor.cs
- FileEnumerator.cs
- GlyphRunDrawing.cs
- RadialGradientBrush.cs
- EncoderParameters.cs
- Constraint.cs
- SHA1Cng.cs
- PixelFormats.cs
- ToolStripItem.cs
- CodeGenerator.cs
- GenericUriParser.cs
- GlyphInfoList.cs
- XmlQualifiedName.cs
- XDRSchema.cs
- XmlSerializationReader.cs
- AsymmetricSignatureFormatter.cs
- TextEvent.cs
- StopRoutingHandler.cs
- wgx_exports.cs
- ImageConverter.cs
- PrinterUnitConvert.cs
- NativeObjectSecurity.cs
- ControlCachePolicy.cs
- ModuleBuilderData.cs
- AnnotationAuthorChangedEventArgs.cs
- RtfFormatStack.cs
- Descriptor.cs
- SiteMapNodeCollection.cs
- SvcMapFileLoader.cs
- StateMachine.cs
- TextBoxBase.cs
- SettingsPropertyCollection.cs
- FileDialogPermission.cs
- UnitControl.cs
- SerializationHelper.cs
- DetailsViewPageEventArgs.cs
- FontInfo.cs
- FileClassifier.cs
- GlyphManager.cs
- CoreSwitches.cs
- QueryContinueDragEventArgs.cs
- ToolStripItemImageRenderEventArgs.cs
- FormatControl.cs
- TimeIntervalCollection.cs
- ContainerControl.cs
- Partitioner.cs
- ErrorRuntimeConfig.cs
- GACMembershipCondition.cs
- ArrangedElement.cs
- XmlStringTable.cs
- Pointer.cs
- RtfToXamlReader.cs
- ObjectStateManager.cs
- AnnotationStore.cs
- UpDownBase.cs
- TypeValidationEventArgs.cs
- formatter.cs
- HelpProvider.cs
- DrawingCollection.cs
- QueryPrefixOp.cs
- BamlLocalizabilityResolver.cs
- DataTablePropertyDescriptor.cs
- TimeStampChecker.cs
- TextPointerBase.cs
- DataControlExtensions.cs
- LinqToSqlWrapper.cs
- XamlSerializationHelper.cs
- RefreshInfo.cs
- FixedTextBuilder.cs
- MaterialGroup.cs
- ChildChangedEventArgs.cs
- StoreContentChangedEventArgs.cs
- QueryOptionExpression.cs
- ControlCommandSet.cs
- GridViewRowCollection.cs
- FilterableAttribute.cs