Audit Manager

In a custom application, custom messages/ error can be added in the responses sent after processing. This is achieved by using AuditManager. This class is provided as a property in the IRPAHelper interface. The class has the following method which is called from the custom application to add additional messages/ custom business errors in the response.

 

public void RaiseAuditMessageEvent(object sender, AuditMessageArgs auditmessage)

AuditMessageArgs class:

public class AuditMessageArgs : EventArgs

{

ErrorDetail auditError; public ErrorDetail AuditError

{

get { return auditError; } set { auditError = value; }

}

private string message; public string Message

{

get { return message; } set { message = value; }

}

string senderName; public string SenderName

{

get { return senderName; } set { senderName = value; }

}

}