DiscoveredParts.ThrowOnErrors Method

Definition

Returns the discovered parts if no errors occurred, otherwise throws an exception describing any discovery failures.

public Microsoft.VisualStudio.Composition.DiscoveredParts ThrowOnErrors ();
member this.ThrowOnErrors : unit -> Microsoft.VisualStudio.Composition.DiscoveredParts
Public Function ThrowOnErrors () As DiscoveredParts

Returns

This discovery result.

Exceptions

Remarks

This method returns this so that it may be used in a 'fluent API' expression.

Applies to