Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / DiscoveryClientRequestChannel.cs / 1305376 / DiscoveryClientRequestChannel.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System; using System.ServiceModel; using System.ServiceModel.Channels; class DiscoveryClientRequestChannel: DiscoveryClientChannelBase , IRequestChannel where TChannel : class, IRequestChannel { public DiscoveryClientRequestChannel( ChannelManagerBase channelManagerBase, IChannelFactory innerChannelFactory, FindCriteria findCriteria, DiscoveryEndpointProvider discoveryEndpointProvider) : base(channelManagerBase, innerChannelFactory, findCriteria, discoveryEndpointProvider) { } public EndpointAddress RemoteAddress { get { if (this.InnerChannel == null) { return DiscoveryClientBindingElement.DiscoveryEndpointAddress; } return this.InnerChannel.RemoteAddress; } } public Uri Via { get { if (this.InnerChannel == null) { return DiscoveryClientBindingElement.DiscoveryEndpointAddress.Uri; } return this.InnerChannel.Via; } } public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) { return this.InnerChannel.BeginRequest(message, timeout, callback, state); } public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) { return this.BeginRequest(message, this.DefaultSendTimeout, callback, state); } public Message EndRequest(IAsyncResult result) { return this.InnerChannel.EndRequest(result); } public Message Request(Message message, TimeSpan timeout) { return this.InnerChannel.Request(message, timeout); } public Message Request(Message message) { return this.Request(message, this.DefaultSendTimeout); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapRpcMethodAttribute.cs
- CompositeKey.cs
- MenuItemStyle.cs
- DataSourceCache.cs
- BypassElementCollection.cs
- QilFactory.cs
- SelectionHighlightInfo.cs
- TextTreeRootTextBlock.cs
- DispatchChannelSink.cs
- WaveHeader.cs
- ListViewItem.cs
- WebRequestModuleElement.cs
- FontStretch.cs
- OleDbWrapper.cs
- COM2ExtendedUITypeEditor.cs
- SimpleBitVector32.cs
- ReturnType.cs
- PackageRelationshipSelector.cs
- DataRelation.cs
- DayRenderEvent.cs
- SymmetricAlgorithm.cs
- RectangleConverter.cs
- TemplateBindingExpression.cs
- ProcessProtocolHandler.cs
- DoubleLinkListEnumerator.cs
- CacheAxisQuery.cs
- LocatorGroup.cs
- StateDesigner.CommentLayoutGlyph.cs
- PriorityItem.cs
- DateTimeEditor.cs
- InstanceData.cs
- ActivityInterfaces.cs
- AssertFilter.cs
- WorkflowRuntimeEndpoint.cs
- CompositeActivityTypeDescriptorProvider.cs
- DesignerSerializerAttribute.cs
- IdentifierCollection.cs
- ParameterToken.cs
- ListItemConverter.cs
- GroupBox.cs
- CssTextWriter.cs
- RouteTable.cs
- NameValueConfigurationCollection.cs
- SoapInteropTypes.cs
- SQLDateTime.cs
- HoistedLocals.cs
- MetricEntry.cs
- CallbackHandler.cs
- RightsManagementErrorHandler.cs
- IndexedEnumerable.cs
- KeyValuePair.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SelectQueryOperator.cs
- AssemblyInfo.cs
- ThreadPool.cs
- ToolStripItemTextRenderEventArgs.cs
- CompilerState.cs
- complextypematerializer.cs
- ControlValuePropertyAttribute.cs
- RoleGroup.cs
- AddInController.cs
- RegexMatchCollection.cs
- ChannelManager.cs
- FixUpCollection.cs
- SqlSelectStatement.cs
- ConditionalAttribute.cs
- ToolboxItemAttribute.cs
- ImageClickEventArgs.cs
- HitTestParameters.cs
- ToolStripDropDownMenu.cs
- AdCreatedEventArgs.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- TypePropertyEditor.cs
- indexingfiltermarshaler.cs
- ContextStaticAttribute.cs
- StructuralCache.cs
- CustomValidator.cs
- ResponseStream.cs
- EventSourceCreationData.cs
- Popup.cs
- IndexingContentUnit.cs
- UpdatePanel.cs
- HotCommands.cs
- DesignerActionMethodItem.cs
- PointCollectionConverter.cs
- BufferModeSettings.cs
- SettingsProperty.cs
- DesigntimeLicenseContext.cs
- OleDbCommand.cs
- PageStatePersister.cs
- GuidelineSet.cs
- PageAsyncTaskManager.cs
- glyphs.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DataObjectEventArgs.cs
- LocatorPartList.cs
- TextElementCollectionHelper.cs
- ListBox.cs
- Brushes.cs
- RegexMatchCollection.cs