3 references to CreateFromContract
System.ServiceModel (3)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
514ChannelProtectionRequirements requirements = ChannelProtectionRequirements.CreateFromContract(contract, defaultRequestProtectionLevel, defaultResponseProtectionLevel, false);
System\ServiceModel\Security\ChannelProtectionRequirements.cs (2)
157return CreateFromContract(contract, bindingElement.SupportedRequestProtectionLevel, bindingElement.SupportedResponseProtectionLevel, isForClient); 186ChannelProtectionRequirements contractRequirements = CreateFromContract(contract, bindingElement.SupportedRequestProtectionLevel, bindingElement.SupportedResponseProtectionLevel, isForClient);