This documentation is archived and is not being maintained.

TransactionManager.HostCurrentCallback Property

Note: This property is new in the .NET Framework version 2.0.

Gets a custom transaction factory.

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

public static HostCurrentTransactionCallback HostCurrentCallback { get; set; }
/** @property */
public static HostCurrentTransactionCallback get_HostCurrentCallback ()

/** @property */
public static void set_HostCurrentCallback (HostCurrentTransactionCallback value)

public static function get HostCurrentCallback () : HostCurrentTransactionCallback

public static function set HostCurrentCallback (value : HostCurrentTransactionCallback)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0