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