void Initialize(AnnouncementEndpoint announcementEndpoint) { if (announcementEndpoint.Binding != null && announcementEndpoint.Binding.MessageVersion.Addressing == AddressingVersion.None) { throw FxTrace.Exception.Argument( "announcementEndpoint", SR.EndpointWithInvalidMessageVersion( announcementEndpoint.GetType().Name, AddressingVersion.None, this.GetType().Name, AddressingVersion.WSAddressing10, AddressingVersion.WSAddressingAugust2004)); } this.innerClient = announcementEndpoint.DiscoveryVersion.Implementation.CreateAnnouncementInnerClient(announcementEndpoint); }