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
- PropertyGroupDescription.cs
- ItemCheckEvent.cs
- xdrvalidator.cs
- ClearCollection.cs
- ObjectKeyFrameCollection.cs
- UInt16.cs
- TTSVoice.cs
- BuilderInfo.cs
- DesignerTransactionCloseEvent.cs
- PageClientProxyGenerator.cs
- HtmlDocument.cs
- DatagridviewDisplayedBandsData.cs
- odbcmetadatacollectionnames.cs
- DataGridViewCellLinkedList.cs
- ParameterDataSourceExpression.cs
- ThicknessAnimation.cs
- precedingquery.cs
- Parsers.cs
- SignedInfo.cs
- DynamicQueryableWrapper.cs
- BitmapData.cs
- nulltextcontainer.cs
- OutputCacheProfile.cs
- TextPointer.cs
- EncodingNLS.cs
- DataStorage.cs
- HtmlInputText.cs
- MaterializeFromAtom.cs
- UserControlParser.cs
- CornerRadius.cs
- DrawingVisualDrawingContext.cs
- LicenseProviderAttribute.cs
- SqlConnectionStringBuilder.cs
- MemoryStream.cs
- SQLInt16.cs
- HttpSysSettings.cs
- ResolveCriteriaCD1.cs
- ExtendedPropertyDescriptor.cs
- CreateUserErrorEventArgs.cs
- EndpointDiscoveryMetadata11.cs
- TaskFormBase.cs
- DesignOnlyAttribute.cs
- SqlDataSourceConfigureSelectPanel.cs
- OutputCacheSettingsSection.cs
- ErrorRuntimeConfig.cs
- PasswordRecovery.cs
- MachineSettingsSection.cs
- PackWebRequestFactory.cs
- MarshalByValueComponent.cs
- ControlPropertyNameConverter.cs
- RefType.cs
- DbConnectionInternal.cs
- CounterCreationDataConverter.cs
- UshortList2.cs
- PackagePartCollection.cs
- SqlAggregateChecker.cs
- SqlExpander.cs
- StringDictionaryCodeDomSerializer.cs
- WebReferencesBuildProvider.cs
- ExpandableObjectConverter.cs
- GB18030Encoding.cs
- ADConnectionHelper.cs
- LinqDataSourceContextEventArgs.cs
- StylusPlugin.cs
- PathParser.cs
- GuidTagList.cs
- RuntimeIdentifierPropertyAttribute.cs
- XsltCompileContext.cs
- BindUriHelper.cs
- NamedPermissionSet.cs
- WhitespaceRuleLookup.cs
- TextTrailingWordEllipsis.cs
- RangeValuePatternIdentifiers.cs
- ClipboardProcessor.cs
- MemoryStream.cs
- FloatUtil.cs
- CodeIdentifiers.cs
- BufferBuilder.cs
- HandlerWithFactory.cs
- CodeSnippetExpression.cs
- AvTraceDetails.cs
- PrintPreviewControl.cs
- ArgumentException.cs
- StylusEventArgs.cs
- WindowsSecurityToken.cs
- IPEndPointCollection.cs
- columnmapfactory.cs
- PlanCompilerUtil.cs
- SetterBase.cs
- CodeSnippetTypeMember.cs
- Button.cs
- DataGridViewComboBoxColumnDesigner.cs
- AnonymousIdentificationSection.cs
- SectionVisual.cs
- ProcessModelInfo.cs
- ExceptionDetail.cs
- ResourceReferenceExpressionConverter.cs
- SerializationEventsCache.cs
- ToolboxItem.cs
- FlowDocumentView.cs