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
- SqlInternalConnectionSmi.cs
- RuleCache.cs
- VectorCollectionValueSerializer.cs
- ConstantSlot.cs
- ExpanderAutomationPeer.cs
- DiffuseMaterial.cs
- DbModificationCommandTree.cs
- ToolBar.cs
- ExclusiveHandleList.cs
- AspNetRouteServiceHttpHandler.cs
- HostExecutionContextManager.cs
- RelationshipConstraintValidator.cs
- OutputCacheSettings.cs
- WebBrowserContainer.cs
- Model3DGroup.cs
- ReadOnlyDictionary.cs
- X509Chain.cs
- figurelength.cs
- NumberSubstitution.cs
- DataReaderContainer.cs
- EqualityComparer.cs
- ToolStripPanelCell.cs
- BitmapMetadataEnumerator.cs
- SqlDataSourceSelectingEventArgs.cs
- CallSiteOps.cs
- TextTreeUndo.cs
- XsltSettings.cs
- ClonableStack.cs
- FtpRequestCacheValidator.cs
- AuthenticationServiceManager.cs
- XmlSchemaResource.cs
- ConfigurationValues.cs
- LeaseManager.cs
- FlowPosition.cs
- StyleXamlParser.cs
- Annotation.cs
- KeyPressEvent.cs
- ComponentCommands.cs
- ValidatorCollection.cs
- XmlIlTypeHelper.cs
- OdbcCommand.cs
- KeyInfo.cs
- FormatSettings.cs
- Literal.cs
- assemblycache.cs
- VarInfo.cs
- TakeOrSkipWhileQueryOperator.cs
- CharacterMetrics.cs
- userdatakeys.cs
- DataServiceProcessingPipelineEventArgs.cs
- smtppermission.cs
- MailWebEventProvider.cs
- UserPersonalizationStateInfo.cs
- ConnectionProviderAttribute.cs
- FunctionImportElement.cs
- PropVariant.cs
- ProcessInputEventArgs.cs
- ECDsa.cs
- FixedSchema.cs
- DrawItemEvent.cs
- RsaKeyIdentifierClause.cs
- XmlWrappingReader.cs
- SiteMapNodeCollection.cs
- SudsParser.cs
- XmlArrayItemAttributes.cs
- StrokeCollection2.cs
- _SecureChannel.cs
- CreateDataSourceDialog.cs
- Timer.cs
- VisualCollection.cs
- ElementAction.cs
- DbConnectionClosed.cs
- BamlBinaryReader.cs
- UncommonField.cs
- GlobalizationAssembly.cs
- FlowDocumentPaginator.cs
- SoapIgnoreAttribute.cs
- WebSysDescriptionAttribute.cs
- XPathPatternBuilder.cs
- XmlArrayItemAttribute.cs
- WindowsAltTab.cs
- SqlConnection.cs
- StrongTypingException.cs
- LogExtent.cs
- ApplicationGesture.cs
- ObjectManager.cs
- StringSorter.cs
- Sql8ExpressionRewriter.cs
- HttpRequestTraceRecord.cs
- FocusTracker.cs
- ViewStateException.cs
- JsonFormatReaderGenerator.cs
- ModelPerspective.cs
- ToolStripSplitButton.cs
- StoreItemCollection.cs
- Expression.cs
- XmlUtilWriter.cs
- CodeObject.cs
- WebControlsSection.cs
- PopupRootAutomationPeer.cs