30 references to PeerReferralPolicy
System.ServiceModel (30)
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (3)
23
PeerReferralPolicy
referralPolicy;
87
public override
PeerReferralPolicy
ReferralPolicy
97
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(
PeerReferralPolicy
)));
System\ServiceModel\Channels\PeerResolverBindingElement.cs (1)
14
public abstract
PeerReferralPolicy
ReferralPolicy { get; set; }
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
53
PeerReferralPolicy
referralPolicy =
PeerReferralPolicy
.Share;
76
internal PnrpPeerResolver() : this(
PeerReferralPolicy
.Share) { }
77
internal PnrpPeerResolver(
PeerReferralPolicy
referralPolicy)
224
return referralPolicy !=
PeerReferralPolicy
.DoNotShare;
System\ServiceModel\Channels\PnrpPeerResolverBindingElement.cs (4)
14
PeerReferralPolicy
referralPolicy;
17
public PnrpPeerResolverBindingElement(
PeerReferralPolicy
referralPolicy)
28
public override
PeerReferralPolicy
ReferralPolicy
38
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(
PeerReferralPolicy
)));
System\ServiceModel\Configuration\PeerResolverElement.cs (3)
25
[ConfigurationProperty(ConfigurationStrings.ReferralPolicy, DefaultValue =
PeerReferralPolicy
.Service)]
27
public
PeerReferralPolicy
ReferralPolicy
29
get { return (
PeerReferralPolicy
)base[ConfigurationStrings.ReferralPolicy]; }
System\ServiceModel\Configuration\Properties.cs (2)
2550
properties.Add(new ConfigurationProperty("referralPolicy", typeof(System.ServiceModel.PeerResolvers.
PeerReferralPolicy
), System.ServiceModel.PeerResolvers.
PeerReferralPolicy
.Service, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.PeerResolvers.PeerReferralPolicyHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\PeerResolver.cs (1)
18
public virtual void Initialize(EndpointAddress address, Binding binding, ClientCredentials credentials,
PeerReferralPolicy
referralPolicy)
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (4)
30
PeerReferralPolicy
referralPolicy;
50
if (this.referralPolicy ==
PeerReferralPolicy
.Service && opened)
66
shareReferrals = (
PeerReferralPolicy
.Share == this.referralPolicy);
73
public override void Initialize(EndpointAddress address, Binding binding, ClientCredentials credentials,
PeerReferralPolicy
referralPolicy)
System\ServiceModel\PeerResolvers\PeerReferralPolicy.cs (4)
15
internal static bool IsDefined(
PeerReferralPolicy
value)
18
value ==
PeerReferralPolicy
.Service ||
19
value ==
PeerReferralPolicy
.Share ||
20
value ==
PeerReferralPolicy
.DoNotShare);
System\ServiceModel\PeerResolvers\PeerResolverSettings.cs (3)
20
PeerReferralPolicy
referralPolicy;
39
public
PeerReferralPolicy
ReferralPolicy
46
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(
PeerReferralPolicy
)));