AsyncJob.ShouldProcess Method

Definition

Overloads

ShouldProcess(String)
ShouldProcess(String, String)
ShouldProcess(String, String, String)
ShouldProcess(String, String, String, ShouldProcessReason)

ShouldProcess(String)

public bool ShouldProcess (string target);
override this.ShouldProcess : string -> bool
Public Function ShouldProcess (target As String) As Boolean

Parameters

target
String

Returns

Boolean

Implements

Applies to

ShouldProcess(String, String)

public bool ShouldProcess (string target, string action);
override this.ShouldProcess : string * string -> bool
Public Function ShouldProcess (target As String, action As String) As Boolean

Parameters

target
String
action
String

Returns

Boolean

Implements

Applies to

ShouldProcess(String, String, String)

public bool ShouldProcess (string verboseDescription, string verboseWarning, string caption);
override this.ShouldProcess : string * string * string -> bool
Public Function ShouldProcess (verboseDescription As String, verboseWarning As String, caption As String) As Boolean

Parameters

verboseDescription
String
verboseWarning
String
caption
String

Returns

Boolean

Implements

Applies to

ShouldProcess(String, String, String, ShouldProcessReason)

public bool ShouldProcess (string verboseDescription, string verboseWarning, string caption, out System.Management.Automation.ShouldProcessReason shouldProcessReason);
override this.ShouldProcess : string * string * string * ShouldProcessReason -> bool
Public Function ShouldProcess (verboseDescription As String, verboseWarning As String, caption As String, ByRef shouldProcessReason As ShouldProcessReason) As Boolean

Parameters

verboseDescription
String
verboseWarning
String
caption
String
shouldProcessReason
ShouldProcessReason

Returns

Boolean

Implements

Applies to