ConfidentialLedgerModelFactory.LedgerEntry Method
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.
An entry in the ledger.
public static Azure.Security.ConfidentialLedger.Models.LedgerEntry LedgerEntry(string contents = default, string collectionId = default, string transactionId = default, System.Collections.Generic.IEnumerable<Azure.Security.ConfidentialLedger.Models.UserDefinedFunctionHook> preHooks = default, System.Collections.Generic.IEnumerable<Azure.Security.ConfidentialLedger.Models.UserDefinedFunctionHook> postHooks = default);
static member LedgerEntry : string * string * string * seq<Azure.Security.ConfidentialLedger.Models.UserDefinedFunctionHook> * seq<Azure.Security.ConfidentialLedger.Models.UserDefinedFunctionHook> -> Azure.Security.ConfidentialLedger.Models.LedgerEntry
Public Shared Function LedgerEntry (Optional contents As String = Nothing, Optional collectionId As String = Nothing, Optional transactionId As String = Nothing, Optional preHooks As IEnumerable(Of UserDefinedFunctionHook) = Nothing, Optional postHooks As IEnumerable(Of UserDefinedFunctionHook) = Nothing) As LedgerEntry
Parameters
- contents
- String
Contents of the ledger entry.
- collectionId
- String
The collection identifier for this ledger entry.
- transactionId
- String
A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read.
- preHooks
- IEnumerable<UserDefinedFunctionHook>
List of user defined function hooks to be executed before the ledger entry is written.
- postHooks
- IEnumerable<UserDefinedFunctionHook>
List of user defined function hooks to be executed after the ledger entry is written.
Returns
A new LedgerEntry instance for mocking.