TransactionManager::HostCurrentCallback Property


Gets or sets a custom transaction factory.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

property HostCurrentTransactionCallback^ HostCurrentCallback {
	[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
	static HostCurrentTransactionCallback^ get();
	[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
	static void set(HostCurrentTransactionCallback^ value);

Property Value

Type: System.Transactions::HostCurrentTransactionCallback^

A HostCurrentTransactionCallback that contains a custom transaction factory.

Note   This method uses LinkDemand to prevent it from being called from untrusted code; however, only the immediate caller is required to possess the FullTrust permission set.

.NET Framework
Available since 2.0
Return to top