TransactionManager.HostCurrentCallback Właściwość

Definicja

Pobiera lub ustawia niestandardową fabrykę transakcji.

public:
 static property System::Transactions::HostCurrentTransactionCallback ^ HostCurrentCallback { System::Transactions::HostCurrentTransactionCallback ^ get(); void set(System::Transactions::HostCurrentTransactionCallback ^ value); };
public static System.Transactions.HostCurrentTransactionCallback? HostCurrentCallback { get; set; }
public static System.Transactions.HostCurrentTransactionCallback HostCurrentCallback { get; set; }
member this.HostCurrentCallback : System.Transactions.HostCurrentTransactionCallback with get, set
Public Shared Property HostCurrentCallback As HostCurrentTransactionCallback

Wartość właściwości

HostCurrentTransactionCallback

Element HostCurrentTransactionCallback zawierający niestandardową fabrykę transakcji.

Uwagi

Uwaga Ta metoda używa LinkDemand metody, aby zapobiec wywoływaniu z niezaufanego kodu. Jednak tylko bezpośredni obiekt wywołujący jest wymagany do posiadania FullTrust zestawu uprawnień.

Dotyczy