 | AuditExtensionsAudit(IAuditService, DateTimeOffset, ActionType, OutcomeIndicator, EventIdentifierType, AuditCode) Method |
Creates a new
IAuditBuilder instance tied to this service for dispatch.
Namespace: SanteDB.Core.Security.AuditAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static IAuditBuilder Audit(
this IAuditService service,
DateTimeOffset timeStamp,
ActionType actionCode,
OutcomeIndicator outcome,
EventIdentifierType eventIdentifier,
AuditCode eventTypeCode
)
<ExtensionAttribute>
Public Shared Function Audit (
service As IAuditService,
timeStamp As DateTimeOffset,
actionCode As ActionType,
outcome As OutcomeIndicator,
eventIdentifier As EventIdentifierType,
eventTypeCode As AuditCode
) As IAuditBuilder
public:
[ExtensionAttribute]
static IAuditBuilder^ Audit(
IAuditService^ service,
DateTimeOffset timeStamp,
ActionType actionCode,
OutcomeIndicator outcome,
EventIdentifierType eventIdentifier,
AuditCode^ eventTypeCode
)
[<ExtensionAttribute>]
static member Audit :
service : IAuditService *
timeStamp : DateTimeOffset *
actionCode : ActionType *
outcome : OutcomeIndicator *
eventIdentifier : EventIdentifierType *
eventTypeCode : AuditCode -> IAuditBuilder Parameters
- service IAuditService
- The service to use to build the audit
- timeStamp DateTimeOffset
- The timestamp of the event
- actionCode ActionType
- The action type which classifies the audit action
- outcome OutcomeIndicator
- The outcome of the audit
- eventIdentifier EventIdentifierType
- The event identification
- eventTypeCode AuditCode
- The event type
Return Value
IAuditBuilderThe constructed audit builder
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAuditService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also