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
- IsolatedStorageFilePermission.cs
- ExtenderProvidedPropertyAttribute.cs
- Suspend.cs
- HttpCachePolicyWrapper.cs
- MenuAutomationPeer.cs
- Control.cs
- BigIntegerStorage.cs
- XmlILCommand.cs
- FormViewInsertedEventArgs.cs
- AppSecurityManager.cs
- Bidi.cs
- shaperfactoryquerycacheentry.cs
- HttpWebRequestElement.cs
- DynamicMetaObject.cs
- localization.cs
- _OverlappedAsyncResult.cs
- DataGridViewTextBoxCell.cs
- DrawItemEvent.cs
- DurableEnlistmentState.cs
- CommonObjectSecurity.cs
- QueryInterceptorAttribute.cs
- CodeCatchClause.cs
- DataTemplateKey.cs
- Int64Converter.cs
- ChannelBinding.cs
- ListItemCollection.cs
- XmlArrayItemAttributes.cs
- AdRotatorDesigner.cs
- DataConnectionHelper.cs
- SqlDuplicator.cs
- FixedDocumentPaginator.cs
- TransactionScope.cs
- GenerateTemporaryAssemblyTask.cs
- AutomationProperties.cs
- ColumnHeader.cs
- DataGrid.cs
- CompoundFileReference.cs
- HttpException.cs
- Shape.cs
- StyleModeStack.cs
- SoapEnumAttribute.cs
- recordstatescratchpad.cs
- CategoryGridEntry.cs
- UndoEngine.cs
- EditorOptionAttribute.cs
- KeyValuePairs.cs
- WebPartDescription.cs
- OneOfTypeConst.cs
- ConnectionPointCookie.cs
- EventQueueState.cs
- ComboBox.cs
- QueryContinueDragEventArgs.cs
- TextRunTypographyProperties.cs
- SqlVersion.cs
- Crc32.cs
- ScaleTransform.cs
- WindowsUpDown.cs
- SizeValueSerializer.cs
- _DigestClient.cs
- ImageMapEventArgs.cs
- TextElementAutomationPeer.cs
- cryptoapiTransform.cs
- EncodingNLS.cs
- PointIndependentAnimationStorage.cs
- MetadataProperty.cs
- QilInvokeEarlyBound.cs
- LineUtil.cs
- BackgroundFormatInfo.cs
- Panel.cs
- CommonGetThemePartSize.cs
- ConfigurationValues.cs
- EntityClassGenerator.cs
- HealthMonitoringSectionHelper.cs
- FontSizeConverter.cs
- WindowsSecurityToken.cs
- EventWaitHandleSecurity.cs
- SqlNamer.cs
- Operators.cs
- ProgressBarAutomationPeer.cs
- MimeBasePart.cs
- FontDifferentiator.cs
- Variant.cs
- Hashtable.cs
- DefaultObjectMappingItemCollection.cs
- ComponentEditorPage.cs
- EventEntry.cs
- WSMessageEncoding.cs
- BinaryCommonClasses.cs
- PersonalizableTypeEntry.cs
- FontSizeConverter.cs
- FamilyTypefaceCollection.cs
- PermissionSetTriple.cs
- brushes.cs
- DCSafeHandle.cs
- DeclaredTypeElementCollection.cs
- SqlUdtInfo.cs
- ExpressionList.cs
- datacache.cs
- StrokeCollection2.cs
- URIFormatException.cs