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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기