/// <summary> /// Initializes a new instance of the <see cref="MexMetadataDiscoveryException"/> class. /// </summary> /// <param name="mexException">The MEX exception.</param> /// <param name="httpGetException">The HTTP GET exception.</param> /// <param name="serviceUri">The service URI.</param> public MexMetadataDiscoveryException(MetadataDiscoveryException mexException, MetadataDiscoveryException httpGetException, Uri serviceUri) : base(string.Format("The metadata from '{0}' could not be obtained.", serviceUri.AbsoluteUri)) { MexException = mexException; HttpGetException = httpGetException; ServiceUri = serviceUri; }
/// <summary> /// Initializes a new instance of the <see cref="MexMetadataDiscoveryException"/> class. /// </summary> /// <param name="mexException">The MEX exception.</param> /// <param name="httpGetException">The HTTP GET exception.</param> /// <param name="serviceUri">The service URI.</param> public MexMetadataDiscoveryException(MetadataDiscoveryException mexException, MetadataDiscoveryException httpGetException, Uri serviceUri) : base(string.Format("The metadata from '{0}' could not be obtained.", serviceUri.AbsoluteUri)) { MexException = mexException; HttpGetException = httpGetException; ServiceUri = serviceUri; }