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
- basevalidator.cs
- IdleTimeoutMonitor.cs
- ModelPropertyCollectionImpl.cs
- UIPropertyMetadata.cs
- BindingCollection.cs
- TextViewSelectionProcessor.cs
- RequestSecurityToken.cs
- _NetRes.cs
- MatcherBuilder.cs
- XmlBinaryReader.cs
- ViewBase.cs
- VirtualizedCellInfoCollection.cs
- IntellisenseTextBox.designer.cs
- TableStyle.cs
- ChangePassword.cs
- entityreference_tresulttype.cs
- UnsafeNativeMethods.cs
- MethodCallConverter.cs
- IsolatedStorageFileStream.cs
- LineMetrics.cs
- SecurityTokenProvider.cs
- CodeTypeMemberCollection.cs
- ElementsClipboardData.cs
- UTF7Encoding.cs
- QueryCacheManager.cs
- ListenerElementsCollection.cs
- RuleProcessor.cs
- GeometryModel3D.cs
- Normalization.cs
- EntityClassGenerator.cs
- TableCell.cs
- MetabaseSettings.cs
- HMACSHA1.cs
- StaticFileHandler.cs
- JavaScriptSerializer.cs
- NavigationProperty.cs
- SingletonInstanceContextProvider.cs
- StorageComplexPropertyMapping.cs
- PageThemeCodeDomTreeGenerator.cs
- BuildResult.cs
- SqlDataSourceParameterParser.cs
- ListQueryResults.cs
- CalendarItem.cs
- ToolStripSettings.cs
- ExecutionScope.cs
- ProfileParameter.cs
- GridViewCellAutomationPeer.cs
- XmlSchemaAny.cs
- latinshape.cs
- ErrorInfoXmlDocument.cs
- RenderContext.cs
- ColorBuilder.cs
- DesignerRegionCollection.cs
- DataGridViewCell.cs
- TreeViewDesigner.cs
- InvokeGenerator.cs
- _NegoState.cs
- MetadataItemEmitter.cs
- XamlUtilities.cs
- SystemTcpConnection.cs
- TableLayoutStyle.cs
- BufferModesCollection.cs
- DocComment.cs
- TypeReference.cs
- Util.cs
- ExpressionBuilderCollection.cs
- TreeNodeClickEventArgs.cs
- DifferencingCollection.cs
- AccessDataSourceView.cs
- TraceHwndHost.cs
- XmlSerializer.cs
- XmlAttribute.cs
- InternalConfigRoot.cs
- SystemWebCachingSectionGroup.cs
- DbDataSourceEnumerator.cs
- KnownTypesProvider.cs
- CodeSnippetTypeMember.cs
- ResolvedKeyFrameEntry.cs
- PrimitiveXmlSerializers.cs
- SortedList.cs
- RegistrationProxy.cs
- ScriptIgnoreAttribute.cs
- DataDocumentXPathNavigator.cs
- DataControlImageButton.cs
- ScrollEventArgs.cs
- SqlNotificationRequest.cs
- ReferenceSchema.cs
- Context.cs
- BrowserDefinitionCollection.cs
- OracleDataAdapter.cs
- Application.cs
- ScriptComponentDescriptor.cs
- ObfuscateAssemblyAttribute.cs
- WindowsSecurityTokenAuthenticator.cs
- DesignerEditorPartChrome.cs
- DbMetaDataColumnNames.cs
- InnerItemCollectionView.cs
- CleanUpVirtualizedItemEventArgs.cs
- TableSectionStyle.cs
- AssemblyBuilderData.cs