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
- DetailsView.cs
- DateRangeEvent.cs
- WebOperationContext.cs
- JobPageOrder.cs
- BaseDataList.cs
- ExceptionHandlers.cs
- DigitShape.cs
- HostingEnvironment.cs
- WindowsIdentity.cs
- GcHandle.cs
- xmlglyphRunInfo.cs
- propertyentry.cs
- X509AsymmetricSecurityKey.cs
- WebPartsPersonalization.cs
- JsonReaderWriterFactory.cs
- RemoteHelper.cs
- processwaithandle.cs
- PartBasedPackageProperties.cs
- WeakReference.cs
- IdentityReference.cs
- HierarchicalDataBoundControlAdapter.cs
- BlobPersonalizationState.cs
- PreProcessInputEventArgs.cs
- ScrollProviderWrapper.cs
- RawStylusActions.cs
- RestHandler.cs
- SafeMILHandle.cs
- SchemaManager.cs
- SchemaAttDef.cs
- MissingFieldException.cs
- complextypematerializer.cs
- WebResponse.cs
- PointCollectionConverter.cs
- FixedTextBuilder.cs
- BrowserTree.cs
- CodeCommentStatementCollection.cs
- TagPrefixInfo.cs
- SqlDataSourceConfigureSelectPanel.cs
- ResolveNameEventArgs.cs
- ViewCellSlot.cs
- ExpressionBuilderContext.cs
- EntityDataSourceViewSchema.cs
- PagerSettings.cs
- RowToParametersTransformer.cs
- AddressAccessDeniedException.cs
- NamespaceMapping.cs
- RSACryptoServiceProvider.cs
- wgx_commands.cs
- PenThread.cs
- StorageInfo.cs
- FormView.cs
- PanningMessageFilter.cs
- OneOfScalarConst.cs
- wmiprovider.cs
- PointLight.cs
- SkewTransform.cs
- OLEDB_Enum.cs
- InstancePersistenceCommand.cs
- COM2ComponentEditor.cs
- webeventbuffer.cs
- SelectedDatesCollection.cs
- OleDbMetaDataFactory.cs
- SingleSelectRootGridEntry.cs
- TransactionManager.cs
- AssemblyResolver.cs
- SymmetricKeyWrap.cs
- WindowsFormsHost.cs
- SynchronizedDispatch.cs
- HotSpotCollection.cs
- TransformerConfigurationWizardBase.cs
- WaitHandleCannotBeOpenedException.cs
- HostingEnvironmentWrapper.cs
- TdsRecordBufferSetter.cs
- SHA512Managed.cs
- ContentPresenter.cs
- DataGridViewCellParsingEventArgs.cs
- DataListCommandEventArgs.cs
- PartEditor.cs
- DataControlButton.cs
- ConnectionModeReader.cs
- Win32SafeHandles.cs
- ContainerUtilities.cs
- RightsManagementEncryptedStream.cs
- Closure.cs
- PrincipalPermission.cs
- StateDesigner.CommentLayoutGlyph.cs
- FormViewDesigner.cs
- BrowserDefinitionCollection.cs
- GetPageCompletedEventArgs.cs
- Camera.cs
- PersonalizablePropertyEntry.cs
- filewebresponse.cs
- UniformGrid.cs
- MailHeaderInfo.cs
- HGlobalSafeHandle.cs
- TypeDelegator.cs
- ScrollableControlDesigner.cs
- NoneExcludedImageIndexConverter.cs
- PeerOutputChannel.cs
- ICspAsymmetricAlgorithm.cs