Đang chuẩn bị liên kết để tải về tài liệu:
Professional Windows PowerShell Programming phần 10
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Đầu tiên, đối tượng được coi là đã chết. Điều này có nghĩa là thay vì có một thể hiện của đối tượng ban đầu, các đối tượng deserialized thực sự là một đối tượng PSObject bằng tài sản. Ví dụ, phương pháp kêu gọi trên một đối tượng Process deserialized sẽ không làm việc. | Appendix D Provider Base Classes and Overrides Interfaces Wildcard patterns to determine which items are excluded when performing an action. public Collection string Exclude get The provider-specific filter supplied by the caller public string Filter get Whether to try vigorously to perform an operation public SwitchParameter Force get The host interaction APIs public PSHost Host get Wildcard patterns to determine which items are included when performing an action. public Collection string Include get Get the command invocation API for the current runspace public CommandInvocationIntrinsics InvokeCommand get Get the provider interface APIs for the current runspace public ProviderIntrinsics InvokeProvider get Get the session state for the current runspace public SessionState SessionState get Whether a stop request has been made on the provider. public bool Stopping get Get the dynamic parameters specified by the user. protected Object DynamicParameters get Get information about the current PowerShell provider. protected internal ProviderInfo ProviderInfo get Get the drive for the current operation protected PSDriveInfo PSDriveInfo get Query user to confirm whether PowerShell should proceed with an operation. Both should-process and should-continue can be used to confirm an operation with the user. While the behavior of 284 Appendix D Provider Base Classes and Overrides Interfaces ShouldProcess can be affected by preference settings and command-line parameters that can specify whether the query is displayed to the user the behavior of ShouldContinue is not affected by preference settings or command-line parameters. public bool ShouldContinue string query string caption public bool ShouldContinue string query string caption ref bool yesToAll ref bool noToAll Query user to confirm an operation before making changes to the system. Both should-process and should-continue can be used to confirm an operation with the user. While the behavior of ShouldProcess can be .