コード例 #1
0
        internal static string GenerateBrokerLauncherAadEpr(string endpointPrefix, string machineName)
        {
            if (endpointPrefix.Equals(NettcpPrefix, StringComparison.InvariantCultureIgnoreCase))
            {
                return(SoaHelper.GetBrokerLauncherAadAddress(machineName));
            }

            throw new ArgumentException("AAD only support net.tcp");
        }