AsyncJob.ShouldProcess 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.
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
Implements
Applies to
ShouldProcess(String, String)
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
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