Share via


NetworkPermissionAttribute.NetworkPermissionAttribute(SecurityAction) Constructor (Microsoft.DirectX.Security.Permissions)

Initializes a new instance of the object.

Definition

Visual Basic Public Sub New( _
    ByVal action As SecurityActionLeave Site _
)
C# public NetworkPermissionAttribute(
    SecurityActionLeave Site action
);
C++ public:
 NetworkPermissionAttribute(
    SecurityActionLeave Site action
);
JScript public function NetworkPermissionAttribute(
    action : SecurityActionLeave Site
);

Parameters

action System.Security.Permissions.SecurityAction