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
'Déclaration
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
- transaction
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The ITextUndoTransaction.
- result
Type: Microsoft.VisualStudio.Text.Operations.TextUndoTransactionCompletionResult
The TextUndoTransactionCompletionResult.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | transaction is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.