共用方式為


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 值。

適用於