Returns the logical intersection between two System.Net.SocketPermission instances.
- target
- The System.Net.SocketPermission instance to intersect with the current instance.
The System.Net.SocketPermission instance that represents the intersection of two System.Net.SocketPermission instances. If the intersection is empty, the method returns null. If the target parameter is a null reference, the method returns null.
Type Reason ArgumentException target is not of type System.Net.SocketPermission .
The intersection of two permissions is a permission that helps to protect the resources and operations protected by both permissions. Specifically, it represents the minimum permission such that any demand that passes both permissions also passes their intersection. This method overrides System.Security.CodeAccessPermission.Intersect(System.Security.IPermission) and is implemented to support the System.Security.IPermission interface.