Example #1
0
        ServiceEndpoint[] GetServiceBusEndpoints()
        {
            string serviceNamespace = ServiceBusHelper.ExtractNamespace(new Uri(m_MexAddressTextBox.Text));
            string issuer           = m_NamespaceCredentials[serviceNamespace].Credentials.SharedSecret.IssuerName;
            string secret           = m_NamespaceCredentials[serviceNamespace].Credentials.SharedSecret.IssuerSecret;

            return(ServiceBusMetadataHelper.GetEndpoints(m_MexAddressTextBox.Text, issuer, secret));
        }
        ServiceEndpoint[] GetServiceBusEndpoints()
        {
            string serviceNamespace = ServiceBusHelper.ExtractNamespace(new Uri(m_MexAddressTextBox.Text));

            return(ServiceBusMetadataHelper.GetEndpoints(m_MexAddressTextBox.Text, m_NamespaceCredentials[serviceNamespace]));
        }