CompositionConfiguration.ThrowOnErrors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Thrown if CompositionErrors is non-empty.
Remarks
This method returns this
so that it may be used in a 'fluent API' expression.