XamlLoadPermission.Union(IPermission) 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.
Creates a permission that is the union of the current XamlLoadPermission and the specified permission.
public:
override System::Security::IPermission ^ Union(System::Security::IPermission ^ other);
public override System.Security.IPermission Union (System.Security.IPermission other);
override this.Union : System.Security.IPermission -> System.Security.IPermission
Public Overrides Function Union (other As IPermission) As IPermission
Parameters
- other
- IPermission
A XamlLoadPermission to combine with the current XamlLoadPermission. Can be null
.
Returns
A new XamlLoadPermission that represents the union of the current XamlLoadPermission and the specified XamlLoadPermission.
Exceptions
other
is not null
or is not a XamlLoadPermission.
Remarks
For union, intersect, and subset logic, IsUnrestricted is checked first, and might return a result based solely on that check. Next, AllowedAccess is checked.
If other
is null
, the current XamlLoadPermission is returned.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om