DistributedTransactionPermissionAttribute(SecurityAction) 构造函数

定义

使用指定的 DistributedTransactionPermissionAttribute 初始化 SecurityAction 类的新实例。

public:
 DistributedTransactionPermissionAttribute(System::Security::Permissions::SecurityAction action);
public DistributedTransactionPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Transactions.DistributedTransactionPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Transactions.DistributedTransactionPermissionAttribute
Public Sub New (action As SecurityAction)

参数

action
SecurityAction

SecurityAction 值之一。

适用于