ModuleInfo.Trace (String, eTraceType, String, String, String) Method

Trace messages to trace window tools
<ID("Trace", (int)e.Trace3)> _ 
Public Function Trace( _ 
ByVal message As String, _ 
ByVal type As eTraceType, _ 
ByVal objectName As String, _ 
Optional ByVal eventSource As String = null, _ 
Optional ByVal eventValue As String = null _ 
) As Integer
This language is not supported or no code example is available.
[ID("Trace", (int)e.Trace3)] 
public int Trace( 
string message
eTraceType type
string objectName
string eventSource = null, 
string eventValue = null 
)
This language is not supported or no code example is available.

Parameters

message
string

Message to trace

type
eTraceType

Message type (eTraceType)

objectName
string

Information to show on info1 column

eventSource
string

Information to show on info2 column

eventValue
string

Information to show on info3 column

Return Value

int

Returns zero

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition