Export (0) Print
Expand All

ICommandRuntime Methods

  Name Description
public method ShouldContinue Overloaded. Confirms the current operation with the user by displaying a query that is provided by the cmdlet and returning an answer based on the user feedback. The variants of this method can display the query with or without providing yes-to-all or no-to-all options to the user.
public method ShouldProcess Overloaded. Requests confirmation from the user before an action is taken. The variants of this method can be used to display the name of the resource to be changed, display the resource name and the action to be taken, and more.
public method ThrowTerminatingError Processes the error object passed when the cmdlet calls ThrowTerminatingError.
public method TransactionAvailable Determines if the Start-Transaction cmdlet has been called and that there is a Windows PowerShell transaction available that the cmdlet can participate in. This method is introduced in Windows PowerShell 2.0.
public method WriteCommandDetail Writes cmdlet execution information to the execution log of the pipeline.
public method WriteDebug Writes a debug message that can be displayed.
public method WriteError Processes a nonterminating error.
public method WriteObject Overloaded. Processes the objects written by the cmdlet to the output pipeline. The variants of this method can be used to process a single object or an object that can be enumerated.
public method WriteProgress Overloaded.  
public method WriteVerbose Processes a verbose message provided by the cmdlet.
public method WriteWarning Processes a warning message that is supplied by the cmdlet.

Send comments about this topic to Microsoft.
© 2014 Microsoft