Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / AnnouncementEndpoint.cs / 1305376 / AnnouncementEndpoint.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System; using System.Runtime; using System.ServiceModel.Channels; using System.ServiceModel.Description; [Fx.Tag.XamlVisible(false)] public class AnnouncementEndpoint : ServiceEndpoint { TimeSpan maxAnnouncementDelay; DiscoveryVersion discoveryVersion; public AnnouncementEndpoint() : this(DiscoveryVersion.DefaultDiscoveryVersion) { } public AnnouncementEndpoint(Binding binding, EndpointAddress address) : this(DiscoveryVersion.DefaultDiscoveryVersion, binding, address) { } public AnnouncementEndpoint(DiscoveryVersion discoveryVersion) : this(discoveryVersion, null, null) { } public AnnouncementEndpoint(DiscoveryVersion discoveryVersion, Binding binding, EndpointAddress address) : base(GetAnnouncementContract(discoveryVersion)) { this.discoveryVersion = discoveryVersion; base.Address = address; base.Binding = binding; } public TimeSpan MaxAnnouncementDelay { get { return this.maxAnnouncementDelay; } set { TimeoutHelper.ThrowIfNegativeArgument(value, "value"); this.maxAnnouncementDelay = value; } } public DiscoveryVersion DiscoveryVersion { get { return this.discoveryVersion; } } static ContractDescription GetAnnouncementContract(DiscoveryVersion discoveryVersion) { if (discoveryVersion == null) { throw FxTrace.Exception.ArgumentNull("discoveryVersion"); } return discoveryVersion.Implementation.GetAnnouncementContract(); } } } // 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
- Literal.cs
- TypeSystem.cs
- GridEntryCollection.cs
- FamilyCollection.cs
- BuildManager.cs
- VarRefManager.cs
- PageRequestManager.cs
- SmtpSection.cs
- MembershipAdapter.cs
- StackSpiller.Temps.cs
- HttpCapabilitiesEvaluator.cs
- SolidColorBrush.cs
- CrossSiteScriptingValidation.cs
- WebPartVerb.cs
- DataServiceRequestException.cs
- RelationshipFixer.cs
- BlobPersonalizationState.cs
- BinaryObjectWriter.cs
- TakeQueryOptionExpression.cs
- SqlLiftWhereClauses.cs
- ErrorTolerantObjectWriter.cs
- SetStoryboardSpeedRatio.cs
- AssemblyNameProxy.cs
- TimeStampChecker.cs
- _SslSessionsCache.cs
- StringPropertyBuilder.cs
- TemplatedControlDesigner.cs
- webproxy.cs
- EncoderBestFitFallback.cs
- CornerRadius.cs
- GroupStyle.cs
- WSFederationHttpSecurity.cs
- Command.cs
- SoapSchemaExporter.cs
- SqlAliaser.cs
- DBSqlParser.cs
- MeshGeometry3D.cs
- ParallelEnumerable.cs
- Executor.cs
- XslAst.cs
- OdbcHandle.cs
- Menu.cs
- StrokeNodeOperations2.cs
- JavaScriptObjectDeserializer.cs
- ExpressionPrefixAttribute.cs
- DataGridViewColumnEventArgs.cs
- GridViewColumnCollection.cs
- __TransparentProxy.cs
- FatalException.cs
- DesignerCategoryAttribute.cs
- brushes.cs
- MetadataCacheItem.cs
- ToolboxDataAttribute.cs
- TTSEngineTypes.cs
- TreeNodeStyleCollection.cs
- SparseMemoryStream.cs
- FilteredSchemaElementLookUpTable.cs
- ControlPropertyNameConverter.cs
- TypeViewSchema.cs
- SoapExtension.cs
- AtomMaterializer.cs
- SoapMessage.cs
- LicenseException.cs
- BinHexDecoder.cs
- AspCompat.cs
- AggregateNode.cs
- ImageBrush.cs
- Vector3DAnimationUsingKeyFrames.cs
- ContractsBCL.cs
- ReflectionServiceProvider.cs
- InvalidOperationException.cs
- KoreanLunisolarCalendar.cs
- FixedSOMTableCell.cs
- ImmComposition.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- OleDbError.cs
- RangeBaseAutomationPeer.cs
- DataList.cs
- EraserBehavior.cs
- ServicesUtilities.cs
- AddingNewEventArgs.cs
- ExpressionHelper.cs
- WindowInteropHelper.cs
- jithelpers.cs
- ResourcePermissionBase.cs
- SqlSelectStatement.cs
- EntitySetRetriever.cs
- SafeNativeMethods.cs
- SimpleHandlerBuildProvider.cs
- SendParametersContent.cs
- OleDbDataReader.cs
- categoryentry.cs
- DynamicDiscoSearcher.cs
- Quad.cs
- ComplexObject.cs
- OrderingExpression.cs
- safesecurityhelperavalon.cs
- TextEditorTables.cs
- documentsequencetextcontainer.cs
- TreeViewItemAutomationPeer.cs