DistributedTransactionPermission(PermissionState) 构造函数

定义

初始化 DistributedTransactionPermission 类的新实例。

public:
 DistributedTransactionPermission(System::Security::Permissions::PermissionState state);
public DistributedTransactionPermission (System.Security.Permissions.PermissionState state);
new System.Transactions.DistributedTransactionPermission : System.Security.Permissions.PermissionState -> System.Transactions.DistributedTransactionPermission
Public Sub New (state As PermissionState)

参数

state
PermissionState

PermissionState 值之一。

适用于