TransactedString Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a a string that can be used in transactions.
public ref class TransactedString : System::Transactions::IEnlistmentNotification
public class TransactedString : System.Transactions.IEnlistmentNotification
type TransactedString = class
interface IEnlistmentNotification
Public Class TransactedString
Implements IEnlistmentNotification
- Inheritance
-
TransactedString
- Implements
Constructors
TransactedString() |
Constructor for the TransactedString class. |
TransactedString(String) |
Constructor for the TransactedString class. |
Properties
Length |
Gets the length of the transacted string. If this is called within the transaction, it returns the length of the transacted value. Otherwise, it returns the length of the original value. |
Methods
Append(String) |
Append text to the transacted string. |
Remove(Int32, Int32) |
Remove text from the transacted string. |
ToString() |
Gets the System.String that represents the transacted transacted string. If this is called within the transaction, it returns the transacted value. Otherwise, it returns the original value. |
Explicit Interface Implementations
IEnlistmentNotification.Commit(Enlistment) |
Make the transacted changes permanent. |
IEnlistmentNotification.InDoubt(Enlistment) |
Discard the transacted changes. |
IEnlistmentNotification.Prepare(PreparingEnlistment) | |
IEnlistmentNotification.Rollback(Enlistment) |
Discard the transacted changes. |