Share via


CompositionConfiguration.ThrowOnErrors Method

Definition

Returns the configuration if it is valid, otherwise throws an exception describing any compositional failures.

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

Returns

This configuration.

Exceptions

Remarks

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

Applies to