.NET Based OPC UA Client/Server SDK  2.6.0.418
UnifiedAutomation.UaServer.Model.ITraceObjectMethods Interface Reference

An interface for methods that can be called on the trace object. More...

Inherited by UnifiedAutomation.UaServer.ServerManager.

Public Member Functions

StatusCode SetTraceLevel (RequestContext context, TraceObjectModel model, bool masterTraceEnabled, TraceLevel defaultTraceLevel)
 Sets the trace level for the server. More...
 
StatusCode Configure (RequestContext context, TraceObjectModel model, string traceFilePath, uint maxEntriesPerLog, byte maxLogFileBackups, bool fastTrace)
 Updates the trace configuration. More...
 

Detailed Description

An interface for methods that can be called on the trace object.

Member Function Documentation

StatusCode UnifiedAutomation.UaServer.Model.ITraceObjectMethods.Configure ( RequestContext  context,
TraceObjectModel  model,
string  traceFilePath,
uint  maxEntriesPerLog,
byte  maxLogFileBackups,
bool  fastTrace 
)

Updates the trace configuration.

Parameters
contextThe request context.
modelThe object which the method is being called on.
traceFilePathThe path to the trace file.
maxEntriesPerLogThe maximum log entries per log file.
maxLogFileBackupsThe maximum number of log file backups.
fastTraceIf true new log entries are flushed immediately to disk; If false log writes are buffered.
Returns
Good if the call succeeds; an appropriate error otherwise.
StatusCode UnifiedAutomation.UaServer.Model.ITraceObjectMethods.SetTraceLevel ( RequestContext  context,
TraceObjectModel  model,
bool  masterTraceEnabled,
TraceLevel  defaultTraceLevel 
)

Sets the trace level for the server.

Parameters
contextThe request context.
modelThe object which the method is being called on.
masterTraceEnabledTrue is trace is enabled; False otherwise;
defaultTraceLevelThe level of detail in the trace log.
Returns
Good if the call succeeds; an appropriate error otherwise.

The documentation for this interface was generated from the following file: