32 references to MetadataExchangeClientMode
System.ServiceModel (32)
System\ServiceModel\Description\MetadataExchangeClient.cs (20)
51public MetadataExchangeClient(Uri address, MetadataExchangeClientMode mode) 55if (mode == MetadataExchangeClientMode.HttpGet) 234void Validate(Uri address, MetadataExchangeClientMode mode) 246if (mode == MetadataExchangeClientMode.HttpGet && !IsHttpOrHttps(address)) 257return BeginGetMetadata(ctorUri, MetadataExchangeClientMode.HttpGet, callback, asyncState); 263public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 267if (mode == MetadataExchangeClientMode.HttpGet) 299return GetMetadataAsync(ctorUri, MetadataExchangeClientMode.HttpGet); 306public Task<MetadataSet> GetMetadataAsync(Uri address, MetadataExchangeClientMode mode) 310MetadataRetriever retriever = (mode == MetadataExchangeClientMode.HttpGet) 345return GetMetadata(ctorUri, MetadataExchangeClientMode.HttpGet); 351public MetadataSet GetMetadata(Uri address, MetadataExchangeClientMode mode) 356if (mode == MetadataExchangeClientMode.HttpGet) 455address.ToString(), MetadataExchangeClientMode.HttpGet.ToString()); 460address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString()); 1378static public bool IsDefined(MetadataExchangeClientMode x) 1381x == MetadataExchangeClientMode.MetadataExchange || 1382x == MetadataExchangeClientMode.HttpGet || 1386public static void Validate(MetadataExchangeClientMode value) 1391typeof(MetadataExchangeClientMode)));
System\ServiceModel\Description\MetadataResolver.cs (11)
52public static ServiceEndpointCollection Resolve(Type contract, Uri address, MetadataExchangeClientMode mode) 61public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode) 65public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client) 115return new AsyncMetadataResolverHelper(address, MetadataExchangeClientMode.MetadataExchange, client, contracts, callback, asyncState); 118public static IAsyncResult BeginResolve(Type contract, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 127public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 131public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client, 162MetadataExchangeClientMode mode; 165internal AsyncMetadataResolverHelper(EndpointAddress address, MetadataExchangeClientMode mode, MetadataExchangeClient client, IEnumerable<ContractDescription> knownContracts, AsyncCallback callback, object asyncState) 180if (this.mode == MetadataExchangeClientMode.HttpGet) 182result = this.client.BeginGetMetadata(this.address.Uri, MetadataExchangeClientMode.HttpGet, Fx.ThunkCallback(new AsyncCallback(this.EndGetMetadataSet)), null);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2901metadataSet = policyFetcher.GetMetadata(mexAddress.Uri, MetadataExchangeClientMode.HttpGet);