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