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
- LinkedList.cs
- WhereQueryOperator.cs
- TemplateKeyConverter.cs
- URLAttribute.cs
- regiisutil.cs
- OdbcConnection.cs
- SoapClientProtocol.cs
- WinFormsSpinner.cs
- BuildManagerHost.cs
- PeerPresenceInfo.cs
- AspNetHostingPermission.cs
- BatchServiceHost.cs
- Pens.cs
- GridViewRow.cs
- DbDataReader.cs
- Opcode.cs
- CodeGenerator.cs
- CodeSnippetStatement.cs
- DocumentDesigner.cs
- FieldMetadata.cs
- messageonlyhwndwrapper.cs
- XmlWrappingReader.cs
- ShaderEffect.cs
- WebRequestModuleElementCollection.cs
- AutoGeneratedFieldProperties.cs
- Drawing.cs
- CompareInfo.cs
- SspiSecurityTokenProvider.cs
- SafeMILHandleMemoryPressure.cs
- Input.cs
- SafeRightsManagementEnvironmentHandle.cs
- AppDomainFactory.cs
- ReflectEventDescriptor.cs
- IDReferencePropertyAttribute.cs
- CompiledQuery.cs
- NullableBoolConverter.cs
- documentsequencetextview.cs
- EntityConnection.cs
- RunInstallerAttribute.cs
- DataColumnMappingCollection.cs
- ToolStripSplitStackLayout.cs
- SendingRequestEventArgs.cs
- cryptoapiTransform.cs
- FixedTextPointer.cs
- CodeCommentStatementCollection.cs
- FormViewPagerRow.cs
- SqlLiftWhereClauses.cs
- DependencyProperty.cs
- CallSite.cs
- NonParentingControl.cs
- ImportCatalogPart.cs
- SoapFormatterSinks.cs
- WebPartMenuStyle.cs
- PrimaryKeyTypeConverter.cs
- DrawingContextWalker.cs
- ReadOnlyMetadataCollection.cs
- PolyLineSegmentFigureLogic.cs
- LogStream.cs
- ShutDownListener.cs
- LoginCancelEventArgs.cs
- Dispatcher.cs
- EntitySqlQueryCacheKey.cs
- TransactedBatchContext.cs
- XmlnsDictionary.cs
- OleDbConnectionFactory.cs
- StyleSheetDesigner.cs
- DataConnectionHelper.cs
- StatusBar.cs
- MasterPageParser.cs
- EntityDataSourceWrapper.cs
- TypeSource.cs
- ToolStripSplitStackLayout.cs
- DataBindEngine.cs
- FormViewDeleteEventArgs.cs
- ContractHandle.cs
- HandlerMappingMemo.cs
- QueryAccessibilityHelpEvent.cs
- XmlDocumentType.cs
- BinaryKeyIdentifierClause.cs
- App.cs
- Thickness.cs
- WebPartManagerInternals.cs
- CodeTypeParameterCollection.cs
- BitmapPalette.cs
- GeometryDrawing.cs
- AdapterDictionary.cs
- httpserverutility.cs
- WebBrowserEvent.cs
- ProfileServiceManager.cs
- OleServicesContext.cs
- ByteKeyFrameCollection.cs
- GlyphRun.cs
- ResourcesChangeInfo.cs
- CipherData.cs
- AdornedElementPlaceholder.cs
- Vector.cs
- ISAPIApplicationHost.cs
- StylusButton.cs
- RegisteredScript.cs
- HttpCachePolicyBase.cs