DCSIMG
The MetadataExchangeClient has resolved more than MaximumResolvedReferences - Zuker On Foundations

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)
The MetadataExchangeClient has resolved more than MaximumResolvedReferences

This error was resulted in a specific scenario where I tried to pull a service metadata using .NET MetadataExchangeClient.

The reason was that the metadata consisted with more metadata references than the limit defined on my MEXClient instance. (The default is 10)

Solution - Increase the limit.

MetadataExchangeClient mexClient = new MetadataExchangeClient();
mexClient.MaximumResolvedReferences = MaximumResolvedReferences; //some constant

Published Thursday, January 15, 2009 3:25 PM by Amir Zuker

תגים:,

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: