ProcessStartPolicy.RegisterTrustedProcess(String, String) Method
Registers a trusted resource.
Namespace: DevExpress.Data.Utils
Assembly: DevExpress.Data.Desktop.v24.1.dll
NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
fileName | String | The trusted resource. |
arguments | String | The arguments. |
Remarks
The ThrowAlways
and RequireConfirmation
policies allow you to set up trusted documents, commands, or URLs. Processes for trusted resources bypass exceptions or confirmation dialogs.
Use the static RegisterTrustedProcess method to register a trusted resource.
Read the following topic for more information: Suppress New Processes Initiated by .NET Controls.
See Also