Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / DiscoveryClientOutputChannel.cs / 1305376 / DiscoveryClientOutputChannel.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System; using System.ServiceModel; using System.ServiceModel.Channels; class DiscoveryClientOutputChannel: DiscoveryClientChannelBase , IOutputChannel where TChannel : class, IOutputChannel { public DiscoveryClientOutputChannel( 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 virtual IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) { return this.InnerChannel.BeginSend(message, timeout, callback, state); } public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) { return this.BeginSend(message, this.DefaultSendTimeout, callback, state); } public void EndSend(IAsyncResult result) { this.InnerChannel.EndSend(result); } public virtual void Send(Message message, TimeSpan timeout) { this.InnerChannel.Send(message, timeout); } public void Send(Message message) { this.Send(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
- XmlSchemaAttribute.cs
- SchemaCreator.cs
- TableDetailsCollection.cs
- BackgroundFormatInfo.cs
- ListControl.cs
- PointF.cs
- AxParameterData.cs
- ProtocolsInstallComponent.cs
- StrongNameIdentityPermission.cs
- MenuStrip.cs
- SplineKeyFrames.cs
- UnknownWrapper.cs
- TableCell.cs
- wgx_exports.cs
- SourceElementsCollection.cs
- HMACRIPEMD160.cs
- HttpServerUtilityWrapper.cs
- TrackingAnnotationCollection.cs
- FormsAuthenticationUserCollection.cs
- OdbcPermission.cs
- EdmType.cs
- TranslateTransform.cs
- SubpageParagraph.cs
- DataListItemEventArgs.cs
- TransformerTypeCollection.cs
- Duration.cs
- ExtentJoinTreeNode.cs
- GridPattern.cs
- StoreItemCollection.Loader.cs
- OdbcParameter.cs
- Paragraph.cs
- ApplicationFileParser.cs
- XmlNamespaceDeclarationsAttribute.cs
- WriteTimeStream.cs
- ReflectionServiceProvider.cs
- FirstMatchCodeGroup.cs
- PersonalizationProviderCollection.cs
- Model3D.cs
- KnownColorTable.cs
- SQLSingleStorage.cs
- InvalidPropValue.cs
- VisualStyleTypesAndProperties.cs
- SafeLocalAllocation.cs
- HebrewCalendar.cs
- AssemblyInfo.cs
- StateWorkerRequest.cs
- TokenBasedSet.cs
- GenerateTemporaryTargetAssembly.cs
- XPathNodeInfoAtom.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- BufferedOutputStream.cs
- BooleanExpr.cs
- Parameter.cs
- QueryOutputWriterV1.cs
- ConstructorExpr.cs
- OdbcError.cs
- XPathParser.cs
- PropertyNames.cs
- assemblycache.cs
- codemethodreferenceexpression.cs
- SHA512.cs
- XmlQueryStaticData.cs
- UnitySerializationHolder.cs
- DecoderNLS.cs
- TrackingLocationCollection.cs
- CustomCategoryAttribute.cs
- OdbcParameter.cs
- AnnotationComponentManager.cs
- StringDictionaryCodeDomSerializer.cs
- ContractCodeDomInfo.cs
- isolationinterop.cs
- XmlSchemaSimpleTypeList.cs
- BitmapCodecInfoInternal.cs
- ProvidersHelper.cs
- FormsAuthenticationEventArgs.cs
- ColorContextHelper.cs
- WmiEventSink.cs
- ReachFixedPageSerializer.cs
- DuplexChannelFactory.cs
- UIAgentAsyncBeginRequest.cs
- Int32Rect.cs
- DataFieldConverter.cs
- WebBaseEventKeyComparer.cs
- OleDbError.cs
- PageHandlerFactory.cs
- GeneralTransformGroup.cs
- SessionPageStatePersister.cs
- HwndHost.cs
- validation.cs
- unsafenativemethodsother.cs
- ILGen.cs
- StreamGeometry.cs
- DataGridSortCommandEventArgs.cs
- DocumentManager.cs
- OciHandle.cs
- Wildcard.cs
- DefaultTraceListener.cs
- InternalSafeNativeMethods.cs
- ObjectDataSourceView.cs
- util.cs