CmdletProvider.ThrowTerminatingError(ErrorRecord) 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.
public:
 void ThrowTerminatingError(System::Management::Automation::ErrorRecord ^ errorRecord);public void ThrowTerminatingError(System.Management.Automation.ErrorRecord errorRecord);[System.Diagnostics.CodeAnalysis.DoesNotReturn]
public void ThrowTerminatingError(System.Management.Automation.ErrorRecord errorRecord);member this.ThrowTerminatingError : System.Management.Automation.ErrorRecord -> unit[<System.Diagnostics.CodeAnalysis.DoesNotReturn>]
member this.ThrowTerminatingError : System.Management.Automation.ErrorRecord -> unitPublic Sub ThrowTerminatingError (errorRecord As ErrorRecord)Parameters
- errorRecord
- ErrorRecord
- Attributes