156 references to ConfigurationStrings
System.ServiceModel.Discovery (156)
System\ServiceModel\Discovery\Configuration\AnnouncementChannelEndpointElementCollection.cs (2)
11
[ConfigurationCollection(typeof(ChannelEndpointElement), AddItemName =
ConfigurationStrings
.Endpoint)]
16
this.AddElementName =
ConfigurationStrings
.Endpoint;
System\ServiceModel\Discovery\Configuration\AnnouncementEndpointElement.cs (10)
25
[ConfigurationProperty(
ConfigurationStrings
.MaxAnnouncementDelay, DefaultValue =
ConfigurationStrings
.TimeSpanZero)]
27
[ServiceModelTimeSpanValidator(MinValueString =
ConfigurationStrings
.TimeSpanZero)]
32
return (TimeSpan)base[
ConfigurationStrings
.MaxAnnouncementDelay];
37
base[
ConfigurationStrings
.MaxAnnouncementDelay] = value;
41
[ConfigurationProperty(
ConfigurationStrings
.DiscoveryVersion, DefaultValue = ProtocolStrings.VersionNameDefault)]
48
return (DiscoveryVersion)base[
ConfigurationStrings
.DiscoveryVersion];
53
base[
ConfigurationStrings
.DiscoveryVersion] = value;
72
ConfigurationStrings
.MaxAnnouncementDelay,
81
ConfigurationStrings
.DiscoveryVersion,
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (1)
17
return new ChannelEndpointElement() { Kind =
ConfigurationStrings
.UdpDiscoveryEndpoint };
System\ServiceModel\Discovery\Configuration\ContractTypeNameElement.cs (8)
27
[ConfigurationProperty(
ConfigurationStrings
.Namespace, DefaultValue = NamingHelper.DefaultNamespace, Options = ConfigurationPropertyOptions.IsKey)]
33
return (string)base[
ConfigurationStrings
.Namespace];
38
base[
ConfigurationStrings
.Namespace] = value;
42
[ConfigurationProperty(
ConfigurationStrings
.Name, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)]
48
return (string)base[
ConfigurationStrings
.Name];
53
base[
ConfigurationStrings
.Name] = value;
67
ConfigurationStrings
.Namespace,
76
ConfigurationStrings
.Name,
System\ServiceModel\Discovery\Configuration\DiscoveryClientElement.cs (8)
19
[ConfigurationProperty(
ConfigurationStrings
.Endpoint)]
28
return (ChannelEndpointElement)base[
ConfigurationStrings
.Endpoint];
32
[ConfigurationProperty(
ConfigurationStrings
.FindCriteria)]
37
return (FindCriteriaElement)base[
ConfigurationStrings
.FindCriteria];
60
ConfigurationStrings
.Endpoint,
69
ConfigurationStrings
.FindCriteria,
88
if (PropertyValueOrigin.Default == this.ElementInformation.Properties[
ConfigurationStrings
.Endpoint].ValueOrigin)
106
if (PropertyValueOrigin.Default == this.ElementInformation.Properties[
ConfigurationStrings
.Endpoint].ValueOrigin)
System\ServiceModel\Discovery\Configuration\DiscoveryClientSettingsElement.cs (6)
17
[ConfigurationProperty(
ConfigurationStrings
.Endpoint)]
26
return (ChannelEndpointElement)base[
ConfigurationStrings
.Endpoint];
31
[ConfigurationProperty(
ConfigurationStrings
.FindCriteria)]
36
return (FindCriteriaElement)base[
ConfigurationStrings
.FindCriteria];
51
ConfigurationStrings
.Endpoint,
60
ConfigurationStrings
.FindCriteria,
System\ServiceModel\Discovery\Configuration\DiscoveryEndpointElement.cs (15)
24
[ConfigurationProperty(
ConfigurationStrings
.MaxResponseDelay, DefaultValue =
ConfigurationStrings
.TimeSpanZero)]
26
[ServiceModelTimeSpanValidator(MinValueString =
ConfigurationStrings
.TimeSpanZero)]
31
return (TimeSpan)base[
ConfigurationStrings
.MaxResponseDelay];
36
base[
ConfigurationStrings
.MaxResponseDelay] = value;
40
[ConfigurationProperty(
ConfigurationStrings
.DiscoveryMode, DefaultValue = ServiceDiscoveryMode.Managed)]
46
return (ServiceDiscoveryMode)base[
ConfigurationStrings
.DiscoveryMode];
51
base[
ConfigurationStrings
.DiscoveryMode] = value;
55
[ConfigurationProperty(
ConfigurationStrings
.DiscoveryVersion, DefaultValue = ProtocolStrings.VersionNameDefault)]
62
return (DiscoveryVersion)base[
ConfigurationStrings
.DiscoveryVersion];
67
base[
ConfigurationStrings
.DiscoveryVersion] = value;
86
ConfigurationStrings
.MaxResponseDelay,
95
ConfigurationStrings
.DiscoveryVersion,
104
ConfigurationStrings
.DiscoveryMode,
147
if (PropertyValueOrigin.Default == serviceEndpointElement.ElementInformation.Properties[
ConfigurationStrings
.IsSystemEndpoint].ValueOrigin)
System\ServiceModel\Discovery\Configuration\DynamicEndpointElement.cs (4)
21
[ConfigurationProperty(
ConfigurationStrings
.DiscoveryClientSettings)]
27
return (DiscoveryClientSettingsElement)base[
ConfigurationStrings
.DiscoveryClientSettings];
46
ConfigurationStrings
.DiscoveryClientSettings,
105
if (PropertyValueOrigin.Default == this.DiscoveryClientSettings.ElementInformation.Properties[
ConfigurationStrings
.Endpoint].ValueOrigin)
System\ServiceModel\Discovery\Configuration\EndpointDiscoveryElement.cs (13)
32
[ConfigurationProperty(
ConfigurationStrings
.Enabled, DefaultValue = true)]
37
return (bool)base[
ConfigurationStrings
.Enabled];
42
base[
ConfigurationStrings
.Enabled] = value;
46
[ConfigurationProperty(
ConfigurationStrings
.Types)]
55
return (ContractTypeNameElementCollection)base[
ConfigurationStrings
.Types];
59
[ConfigurationProperty(
ConfigurationStrings
.Scopes)]
64
return (ScopeElementCollection)base[
ConfigurationStrings
.Scopes];
68
[ConfigurationProperty(
ConfigurationStrings
.Extensions)]
73
return (XmlElementElementCollection)base[
ConfigurationStrings
.Extensions];
87
ConfigurationStrings
.Enabled,
96
ConfigurationStrings
.Types,
105
ConfigurationStrings
.Scopes,
114
ConfigurationStrings
.Extensions,
System\ServiceModel\Discovery\Configuration\FindCriteriaElement.cs (21)
20
[ConfigurationProperty(
ConfigurationStrings
.Types)]
29
return (ContractTypeNameElementCollection)base[
ConfigurationStrings
.Types];
33
[ConfigurationProperty(
ConfigurationStrings
.Scopes)]
38
return (ScopeElementCollection)base[
ConfigurationStrings
.Scopes];
42
[ConfigurationProperty(
ConfigurationStrings
.ScopeMatchBy)]
48
return (Uri)base[
ConfigurationStrings
.ScopeMatchBy];
58
base[
ConfigurationStrings
.ScopeMatchBy] = value;
62
[ConfigurationProperty(
ConfigurationStrings
.Extensions)]
67
return (XmlElementElementCollection)base[
ConfigurationStrings
.Extensions];
71
[ConfigurationProperty(
ConfigurationStrings
.Duration, DefaultValue = DiscoveryDefaults.DiscoveryOperationDurationString)]
78
return (TimeSpan)base[
ConfigurationStrings
.Duration];
83
base[
ConfigurationStrings
.Duration] = value;
87
[ConfigurationProperty(
ConfigurationStrings
.MaxResults, DefaultValue = int.MaxValue)]
93
return (int)base[
ConfigurationStrings
.MaxResults];
97
base[
ConfigurationStrings
.MaxResults] = value;
111
ConfigurationStrings
.Types,
120
ConfigurationStrings
.ScopeMatchBy,
129
ConfigurationStrings
.Scopes,
138
ConfigurationStrings
.Extensions,
147
ConfigurationStrings
.Duration,
156
ConfigurationStrings
.MaxResults,
System\ServiceModel\Discovery\Configuration\ScopeElement.cs (4)
16
[ConfigurationProperty(
ConfigurationStrings
.Scope, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
22
return (Uri)base[
ConfigurationStrings
.Scope];
27
base[
ConfigurationStrings
.Scope] = value;
41
ConfigurationStrings
.Scope,
System\ServiceModel\Discovery\Configuration\ServiceDiscoveryElement.cs (3)
22
[ConfigurationProperty(
ConfigurationStrings
.AnnouncementEndpoints)]
27
return (AnnouncementChannelEndpointElementCollection)base[
ConfigurationStrings
.AnnouncementEndpoints];
51
ConfigurationStrings
.AnnouncementEndpoints,
System\ServiceModel\Discovery\Configuration\UdpAnnouncementEndpointElement.cs (11)
24
[ConfigurationProperty(
ConfigurationStrings
.MaxAnnouncementDelay, DefaultValue = DiscoveryDefaults.Udp.AppMaxDelayString)]
26
[ServiceModelTimeSpanValidator(MinValueString =
ConfigurationStrings
.TimeSpanZero)]
40
[ConfigurationProperty(
ConfigurationStrings
.MulticastAddress, DefaultValue = ProtocolStrings.Udp.MulticastIPv4Address)]
46
return (Uri)base[
ConfigurationStrings
.MulticastAddress];
55
base[
ConfigurationStrings
.MulticastAddress] = value;
59
[ConfigurationProperty(
ConfigurationStrings
.TransportSettings)]
64
return (UdpTransportSettingsElement)base[
ConfigurationStrings
.TransportSettings];
81
properties.Remove(
ConfigurationStrings
.MaxAnnouncementDelay);
85
ConfigurationStrings
.MaxAnnouncementDelay,
94
ConfigurationStrings
.MulticastAddress,
103
ConfigurationStrings
.TransportSettings,
System\ServiceModel\Discovery\Configuration\UdpDiscoveryEndpointElement.cs (14)
24
[ConfigurationProperty(
ConfigurationStrings
.MaxResponseDelay, DefaultValue = DiscoveryDefaults.Udp.AppMaxDelayString)]
26
[ServiceModelTimeSpanValidator(MinValueString =
ConfigurationStrings
.TimeSpanZero)]
40
[ConfigurationProperty(
ConfigurationStrings
.DiscoveryMode, DefaultValue = ServiceDiscoveryMode.Adhoc)]
55
[ConfigurationProperty(
ConfigurationStrings
.MulticastAddress, DefaultValue = ProtocolStrings.Udp.MulticastIPv4Address)]
61
return (Uri)base[
ConfigurationStrings
.MulticastAddress];
70
base[
ConfigurationStrings
.MulticastAddress] = value;
74
[ConfigurationProperty(
ConfigurationStrings
.TransportSettings)]
79
return (UdpTransportSettingsElement)base[
ConfigurationStrings
.TransportSettings];
96
properties.Remove(
ConfigurationStrings
.DiscoveryMode);
97
properties.Remove(
ConfigurationStrings
.MaxResponseDelay);
101
ConfigurationStrings
.MaxResponseDelay,
110
ConfigurationStrings
.DiscoveryMode,
119
ConfigurationStrings
.MulticastAddress,
128
ConfigurationStrings
.TransportSettings,
System\ServiceModel\Discovery\Configuration\UdpTransportSettingsElement.cs (36)
17
[ConfigurationProperty(
ConfigurationStrings
.DuplicateMessageHistoryLength, DefaultValue = DiscoveryDefaults.Udp.DuplicateMessageHistoryLength)]
23
return (int)base[
ConfigurationStrings
.DuplicateMessageHistoryLength];
27
base[
ConfigurationStrings
.DuplicateMessageHistoryLength] = value;
31
[ConfigurationProperty(
ConfigurationStrings
.MaxPendingMessageCount, DefaultValue = UdpConstants.Defaults.MaxPendingMessageCount)]
37
return (int)base[
ConfigurationStrings
.MaxPendingMessageCount];
41
base[
ConfigurationStrings
.MaxPendingMessageCount] = value;
45
[ConfigurationProperty(
ConfigurationStrings
.MaxMulticastRetransmitCount, DefaultValue = DiscoveryDefaults.Udp.MaxMulticastRetransmitCount)]
51
return (int)base[
ConfigurationStrings
.MaxMulticastRetransmitCount];
55
base[
ConfigurationStrings
.MaxMulticastRetransmitCount] = value;
59
[ConfigurationProperty(
ConfigurationStrings
.MaxUnicastRetransmitCount, DefaultValue = DiscoveryDefaults.Udp.MaxUnicastRetransmitCount)]
66
return (int)base[
ConfigurationStrings
.MaxUnicastRetransmitCount];
70
base[
ConfigurationStrings
.MaxUnicastRetransmitCount] = value;
74
[ConfigurationProperty(
ConfigurationStrings
.MulticastInterfaceId)]
80
return (string)base[
ConfigurationStrings
.MulticastInterfaceId];
84
base[
ConfigurationStrings
.MulticastInterfaceId] = value;
88
[ConfigurationProperty(
ConfigurationStrings
.SocketReceiveBufferSize, DefaultValue = UdpConstants.Defaults.SocketReceiveBufferSize)]
94
return (int)base[
ConfigurationStrings
.SocketReceiveBufferSize];
98
base[
ConfigurationStrings
.SocketReceiveBufferSize] = value;
102
[ConfigurationProperty(
ConfigurationStrings
.TimeToLive, DefaultValue = UdpConstants.Defaults.TimeToLive)]
108
return (int)base[
ConfigurationStrings
.TimeToLive];
113
base[
ConfigurationStrings
.TimeToLive] = value;
117
[ConfigurationProperty(
ConfigurationStrings
.MaxReceivedMessageSize, DefaultValue = UdpConstants.Defaults.MaxReceivedMessageSize)]
123
return (long)base[
ConfigurationStrings
.MaxReceivedMessageSize];
127
base[
ConfigurationStrings
.MaxReceivedMessageSize] = value;
131
[ConfigurationProperty(
ConfigurationStrings
.MaxBufferPoolSize, DefaultValue = TransportDefaults.MaxBufferPoolSize)]
137
return (long)base[
ConfigurationStrings
.MaxBufferPoolSize];
141
base[
ConfigurationStrings
.MaxBufferPoolSize] = value;
155
ConfigurationStrings
.DuplicateMessageHistoryLength,
164
ConfigurationStrings
.MaxPendingMessageCount,
173
ConfigurationStrings
.MaxMulticastRetransmitCount,
182
ConfigurationStrings
.MaxUnicastRetransmitCount,
191
ConfigurationStrings
.MulticastInterfaceId,
200
ConfigurationStrings
.SocketReceiveBufferSize,
209
ConfigurationStrings
.TimeToLive,
218
ConfigurationStrings
.MaxReceivedMessageSize,
227
ConfigurationStrings
.MaxBufferPoolSize,