<PackageReference Include="System.ServiceModel.Primitives" Version="8.0.0" />

System.ServiceModel.Channels.ChannelRequirements

namespace System.ServiceModel.Channels { internal struct ChannelRequirements { public bool usesInput; public bool usesReply; public bool usesOutput; public bool usesRequest; public SessionMode sessionMode; public static void ComputeContractRequirements(ContractDescription contractDescription, out ChannelRequirements requirements); public static Type[] ComputeRequiredChannels(ref ChannelRequirements requirements); public static bool IsSessionful(Type channelType); public static bool IsOneWay(Type channelType); public static bool IsRequestReply(Type channelType); public static bool IsDuplex(Type channelType); public static Exception CantCreateListenerException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName); public static Exception CantCreateChannelException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName); public static Exception BindingContractMismatchException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName, ref string contractChannelTypesString, ref string bindingChannelTypesString); } }