MessageQueuePermission.Union(IPermission) 方法
定义
返回一个新的权限对象,它是当前权限对象和指定权限对象的并集。Returns a new permission object that is the union of the current and specified permission objects.
public:
override System::Security::IPermission ^ Union(System::Security::IPermission ^ target);
public override System.Security.IPermission Union (System.Security.IPermission target);
override this.Union : System.Security.IPermission -> System.Security.IPermission
Public Overrides Function Union (target As IPermission) As IPermission
参数
- target
- IPermission
要与当前的权限对象合并的权限对象。A permission object to combine with the current permission object. 它必须与当前权限对象的类型相同。It must be of the same type as the current permission object.
返回
新权限对象,它表示当前权限对象和指定权限对象的并集。A new permission object that represents the union of the current permission object and the specified permission object.