共用方式為


TextUndoTransactionCompletedEventArgs Constructor

Initializes a new instance of TextUndoTransactionCompletedEventArgs.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
Public Sub New ( _
    transaction As ITextUndoTransaction, _
    result As TextUndoTransactionCompletionResult _
)
public TextUndoTransactionCompletedEventArgs(
    ITextUndoTransaction transaction,
    TextUndoTransactionCompletionResult result
)
public:
TextUndoTransactionCompletedEventArgs(
    ITextUndoTransaction^ transaction, 
    TextUndoTransactionCompletionResult result
)
new : 
        transaction:ITextUndoTransaction * 
        result:TextUndoTransactionCompletionResult -> TextUndoTransactionCompletedEventArgs
public function TextUndoTransactionCompletedEventArgs(
    transaction : ITextUndoTransaction, 
    result : TextUndoTransactionCompletionResult
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

transaction is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

TextUndoTransactionCompletedEventArgs Class

Microsoft.VisualStudio.Text.Operations Namespace