CauBaseCommand Class

 

Provides cluster-aware updating (CAU) functionality for cmdlets.

Namespace:   Microsoft.ClusterAwareUpdating.Commands
Assembly:  ClusterAwareUpdating (in ClusterAwareUpdating.dll)

Inheritance Hierarchy

System.Object
  System.Management.Automation.Internal.InternalCommand
    System.Management.Automation.Cmdlet
      System.Management.Automation.PSCmdlet
        Microsoft.ClusterAwareUpdating.Commands.CauBaseCommand
          Microsoft.ClusterAwareUpdating.Commands.CauProgressReportingCommand
          Microsoft.ClusterAwareUpdating.Commands.DisableCauClusterRoleCommand
          Microsoft.ClusterAwareUpdating.Commands.EnableCauClusterRoleCommand
          Microsoft.ClusterAwareUpdating.Commands.ExportCauReportCommand
          Microsoft.ClusterAwareUpdating.Commands.GetCauClusterRoleCommand
          Microsoft.ClusterAwareUpdating.Commands.GetCauPluginCommand
          Microsoft.ClusterAwareUpdating.Commands.GetCauReportCommand
          Microsoft.ClusterAwareUpdating.Commands.GetCauRunCommand
          Microsoft.ClusterAwareUpdating.Commands.RegisterCauPluginCommand
          Microsoft.ClusterAwareUpdating.Commands.StopCauRunCommand
          Microsoft.ClusterAwareUpdating.Commands.TestCauSetupCommand
          Microsoft.ClusterAwareUpdating.Commands.UnregisterCauPluginCommand

Syntax

public abstract class CauBaseCommand : PSCmdlet, IDisposable
public ref class CauBaseCommand abstract : PSCmdlet, IDisposable
[<AbstractClass>]
type CauBaseCommand = 
    class
        inherit PSCmdlet
        interface IDisposable
    end
Public MustInherit Class CauBaseCommand
    Inherits PSCmdlet
    Implements IDisposable

Constructors

Name Description
System_CAPS_protmethod CauBaseCommand()

Properties

Name Description
System_CAPS_protproperty CancelTS

An object that manages the cancellation of this command.

System_CAPS_pubproperty CommandOrigin

(Inherited from InternalCommand.)

System_CAPS_pubproperty CommandRuntime

(Inherited from Cmdlet.)

System_CAPS_pubproperty CurrentPSTransaction

(Inherited from Cmdlet.)

System_CAPS_protproperty Disposed

Indicates whether the resources that are used by the cluster-aware updating (CAU) are released.

System_CAPS_pubproperty Events

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Host

(Inherited from PSCmdlet.)

System_CAPS_pubproperty InvokeCommand

(Inherited from PSCmdlet.)

System_CAPS_pubproperty InvokeProvider

(Inherited from PSCmdlet.)

System_CAPS_protproperty IsOnPipelineThread

Indicates whether the command is on the pipeline thread.

System_CAPS_pubproperty JobManager

(Inherited from PSCmdlet.)

System_CAPS_pubproperty JobRepository

(Inherited from PSCmdlet.)

System_CAPS_pubproperty MyInvocation

(Inherited from PSCmdlet.)

System_CAPS_pubproperty PagingParameters

(Inherited from PSCmdlet.)

System_CAPS_pubproperty ParameterSetName

(Inherited from PSCmdlet.)

System_CAPS_pubproperty SessionState

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Stopping

(Inherited from Cmdlet.)

System_CAPS_protproperty SyncRoot

An object that is used to synchronize this command's access to the pipeline thread.

Methods

Name Description
System_CAPS_protmethod BeginProcessing()

Performs initialization before command execution.(Overrides Cmdlet.BeginProcessing().)

System_CAPS_protmethod CheckForCancellation()

Throws an exception if this command has had cancellation requested.

System_CAPS_protmethod CheckPrivilege(PSCredential)

Checks the user's privileges on the cluster.

System_CAPS_pubmethod CurrentProviderLocation(String)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod Dispose()

Releases both unmanaged and managed resources that are used by the cluster-aware updating (CAU) without running the finalizer.

System_CAPS_protmethod Dispose(Boolean)

Releases unmanaged resources that are used by the cluster-aware updating (CAU) and optionally releases managed resources that are used by the CAU.

System_CAPS_protmethod EndProcessing()

Performs cleanup after the command execution.(Overrides Cmdlet.EndProcessing().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethodSystem_CAPS_static FailFast(String, Exception)

Handles an unexpected exception that was thrown during processing of a cmdlet.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetCommand()

Retrieves the command to invoke.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethodSystem_CAPS_static GetNextActivityId()

Retrieves the identifier of the next activity in the pipeline thread.

System_CAPS_pubmethod GetResolvedProviderPathFromPSPath(String, ProviderInfo)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetResourceString(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUnresolvedProviderPathFromPSPath(String)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetVariableValue(String)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetVariableValue(String, Object)

(Inherited from PSCmdlet.)

System_CAPS_protmethod IgnorePipelineStopped(Action)

Attempts to process an action that is in the pipeline and ignores a PipelineStoppedException if it is thrown.

System_CAPS_pubmethod Invoke()

(Inherited from Cmdlet.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ProcessRecord()

(Inherited from Cmdlet.)

System_CAPS_protmethod ProcessTaskActions(Task, String)

Allows a task to process a cmdlet's action.

System_CAPS_protmethod QueueSafeAction(Action)

Processes an action that is in the pipeline.

System_CAPS_protmethod SafeWriteDebug(String)

System_CAPS_protmethod SafeWriteDebug(String, Object[])

System_CAPS_protmethod SafeWriteError(ClusterUpdateException)

System_CAPS_protmethod SafeWriteError(ErrorRecord)

System_CAPS_protmethod SafeWriteError(Exception, String, ErrorCategory, Object)

System_CAPS_protmethod SafeWriteError(String, String, ErrorCategory, Exception)

System_CAPS_protmethod SafeWriteError(String, String, ErrorCategory, Object)

System_CAPS_protmethod SafeWriteObject(Object)

System_CAPS_protmethod SafeWriteProgress(ProgressRecord)

System_CAPS_protmethod SafeWriteVerbose(String)

System_CAPS_protmethod SafeWriteVerbose(String, Object[])

System_CAPS_protmethod SafeWriteWarning(String)

System_CAPS_protmethod SafeWriteWarning(String, Object[])

System_CAPS_pubmethod ShouldContinue(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_protmethod ShouldDoIt(String, String, String, Boolean)

Requests confirmation from the user before an operation is performed. This method combines the ShouldProcess and ShouldContinue methods.

System_CAPS_pubmethod ShouldProcess(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String, ShouldProcessReason)

(Inherited from Cmdlet.)

System_CAPS_protmethod SignalDone()

Marks a task as complete when the task has completed the actions.

System_CAPS_protmethod StopProcessing()

(Overrides Cmdlet.StopProcessing().)

System_CAPS_protmethod ThrowTerminatingError(ClusterUpdateException)

System_CAPS_protmethod ThrowTerminatingError(ErrorRecord)

System_CAPS_protmethod ThrowTerminatingError(Exception, String, ErrorCategory, Object)

System_CAPS_pubmethod ToString()

(Overrides Object.ToString().)

System_CAPS_pubmethod TransactionAvailable()

(Inherited from Cmdlet.)

System_CAPS_protmethod Uninitialize()

System_CAPS_protmethodSystem_CAPS_static ValidateWarnStopAfter(TimeSpan, TimeSpan)

System_CAPS_pubmethod WriteCommandDetail(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteDebug(String)

System_CAPS_protmethod WriteError(ClusterUpdateException)

System_CAPS_pubmethod WriteError(ErrorRecord)

System_CAPS_protmethod WriteError(Exception, String, ErrorCategory, Object)

System_CAPS_protmethod WriteErrorsForAggregateException(AggregateException, String)

System_CAPS_pubmethod WriteInformation(InformationRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteInformation(Object, String[])

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteProgress(ProgressRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteVerbose(String)

System_CAPS_pubmethod WriteWarning(String)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ClusterAwareUpdating.Commands Namespace

Return to top