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
- XmlRootAttribute.cs
- BaseCodePageEncoding.cs
- Lease.cs
- Interlocked.cs
- CryptoApi.cs
- OperationAbortedException.cs
- SevenBitStream.cs
- SafeFileMappingHandle.cs
- ToolStripPanelSelectionGlyph.cs
- XmlElementCollection.cs
- SemanticResultValue.cs
- CLSCompliantAttribute.cs
- EditorPartCollection.cs
- AsymmetricAlgorithm.cs
- SectionVisual.cs
- AutomationIdentifierGuids.cs
- PersonalizationProvider.cs
- TransactedBatchingElement.cs
- OfTypeExpression.cs
- WindowsFormsSectionHandler.cs
- ClientBuildManagerCallback.cs
- RectAnimationClockResource.cs
- RMPermissions.cs
- XmlComment.cs
- TraceUtility.cs
- TypeInfo.cs
- SecureStringHasher.cs
- IChannel.cs
- StartFileNameEditor.cs
- SoapCodeExporter.cs
- Missing.cs
- HttpProfileBase.cs
- ComponentEditorForm.cs
- KeyGesture.cs
- Stacktrace.cs
- GeneralTransform3DGroup.cs
- TargetParameterCountException.cs
- RootDesignerSerializerAttribute.cs
- WindowsFormsSynchronizationContext.cs
- TextShapeableCharacters.cs
- SmiMetaData.cs
- SecUtil.cs
- Rotation3DAnimation.cs
- Utils.cs
- AssemblyBuilder.cs
- MissingSatelliteAssemblyException.cs
- ContainerCodeDomSerializer.cs
- BaseTemplateParser.cs
- CommandID.cs
- ObjectMemberMapping.cs
- HuffCodec.cs
- TagPrefixAttribute.cs
- ObjectContextServiceProvider.cs
- ExpressionNormalizer.cs
- Rotation3DKeyFrameCollection.cs
- ProcessDesigner.cs
- IntSumAggregationOperator.cs
- AssemblySettingAttributes.cs
- SqlSelectClauseBuilder.cs
- contentDescriptor.cs
- XPathDocument.cs
- DBDataPermission.cs
- SessionPageStateSection.cs
- EventArgs.cs
- BufferBuilder.cs
- FrameworkRichTextComposition.cs
- DataServiceRequestOfT.cs
- SimpleLine.cs
- PrinterResolution.cs
- GetTokenRequest.cs
- CodeMemberMethod.cs
- VolatileResourceManager.cs
- BinaryNode.cs
- CookielessHelper.cs
- HttpRuntimeSection.cs
- ToolStripSplitButton.cs
- UInt16.cs
- ComplexBindingPropertiesAttribute.cs
- WsdlHelpGeneratorElement.cs
- DownloadProgressEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- ApplicationGesture.cs
- NativeCppClassAttribute.cs
- BitmapEffect.cs
- Lease.cs
- GraphicsPathIterator.cs
- XsdValidatingReader.cs
- DrawingContextFlattener.cs
- JournalNavigationScope.cs
- PermissionSet.cs
- GenericTypeParameterConverter.cs
- Soap12ProtocolReflector.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- NativeMethods.cs
- TextElementAutomationPeer.cs
- StateItem.cs
- XsdValidatingReader.cs
- DataGridViewElement.cs
- SafeBitVector32.cs
- Matrix.cs