TransactionManager.HostCurrentCallback Property

 

Gets or sets a custom transaction factory.

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

public static HostCurrentTransactionCallback HostCurrentCallback {
	[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
	get;
	[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
	set;
}

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
Show: