C# Class Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletBase

Inheritance: System.Management.Automation.PSCmdlet
Afficher le fichier Open project: AzureRT/azure-sdk-tools

Méthodes publiques

Méthode Description
ExecuteCmdlet ( ) : void
GetDynamicParameters ( ) : object

Méthodes protégées

Méthode Description
BeginProcessing ( ) : void

Cmdlet begin process

ConfirmAction ( bool force, string actionMessage, string processMessage, string target, System.Action action ) : void

Asks for confirmation before executing the action.

ConstructPSObject ( string typeName ) : System.Management.Automation.PSObject
CurrentPath ( ) : string
EndProcessing ( ) : void

End processing

IsVerbose ( ) : bool
ProcessRecord ( ) : void
SafeWriteOutputPSObject ( string typeName ) : void
WriteDebugWithTimestamp ( string message ) : void
WriteExceptionError ( Exception ex ) : void

Write an error message for a given exception.

WriteVerboseWithTimestamp ( string message ) : void

Method Details

BeginProcessing() protected méthode

Cmdlet begin process
protected BeginProcessing ( ) : void
Résultat void

ConfirmAction() protected méthode

Asks for confirmation before executing the action.
protected ConfirmAction ( bool force, string actionMessage, string processMessage, string target, System.Action action ) : void
force bool Do not ask for confirmation
actionMessage string Message to describe the action
processMessage string Message to prompt after the active is performed.
target string The target name.
action System.Action The action code
Résultat void

ConstructPSObject() protected méthode

protected ConstructPSObject ( string typeName ) : System.Management.Automation.PSObject
typeName string
Résultat System.Management.Automation.PSObject

CurrentPath() protected méthode

protected CurrentPath ( ) : string
Résultat string

EndProcessing() protected méthode

End processing
protected EndProcessing ( ) : void
Résultat void

ExecuteCmdlet() public méthode

public ExecuteCmdlet ( ) : void
Résultat void

GetDynamicParameters() public méthode

public GetDynamicParameters ( ) : object
Résultat object

IsVerbose() protected méthode

protected IsVerbose ( ) : bool
Résultat bool

ProcessRecord() protected méthode

protected ProcessRecord ( ) : void
Résultat void

SafeWriteOutputPSObject() protected méthode

protected SafeWriteOutputPSObject ( string typeName ) : void
typeName string
Résultat void

WriteDebugWithTimestamp() protected méthode

protected WriteDebugWithTimestamp ( string message ) : void
message string
Résultat void

WriteExceptionError() protected méthode

Write an error message for a given exception.
protected WriteExceptionError ( Exception ex ) : void
ex System.Exception The exception resulting from the error.
Résultat void

WriteVerboseWithTimestamp() protected méthode

protected WriteVerboseWithTimestamp ( string message ) : void
message string
Résultat void