AdapterTrace.Trace 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.
Overloads
Trace(TraceEventType, String, String)
public:
void Trace(System::Diagnostics::TraceEventType type, System::String ^ eventCode, System::String ^ description);
public void Trace (System.Diagnostics.TraceEventType type, string eventCode, string description);
member this.Trace : System.Diagnostics.TraceEventType * string * string -> unit
Public Sub Trace (type As TraceEventType, eventCode As String, description As String)
Parameters
- type
- TraceEventType
- eventCode
- String
- description
- String
Applies to
Trace(TraceEventType, String, String, Object)
public:
void Trace(System::Diagnostics::TraceEventType type, System::String ^ eventCode, System::String ^ description, System::Object ^ source);
public void Trace (System.Diagnostics.TraceEventType type, string eventCode, string description, object source);
member this.Trace : System.Diagnostics.TraceEventType * string * string * obj -> unit
Public Sub Trace (type As TraceEventType, eventCode As String, description As String, source As Object)
Parameters
- type
- TraceEventType
- eventCode
- String
- description
- String
- source
- Object
Applies to
Trace(TraceEventType, String, String, Object, TraceRecord)
public:
void Trace(System::Diagnostics::TraceEventType type, System::String ^ eventCode, System::String ^ description, System::Object ^ source, Microsoft::ServiceModel::Channels::Common::TraceRecord ^ extendedData);
public void Trace (System.Diagnostics.TraceEventType type, string eventCode, string description, object source, Microsoft.ServiceModel.Channels.Common.TraceRecord extendedData);
member this.Trace : System.Diagnostics.TraceEventType * string * string * obj * Microsoft.ServiceModel.Channels.Common.TraceRecord -> unit
Public Sub Trace (type As TraceEventType, eventCode As String, description As String, source As Object, extendedData As TraceRecord)
Parameters
- type
- TraceEventType
- eventCode
- String
- description
- String
- source
- Object
- extendedData
- TraceRecord
Applies to
Trace(TraceEventType, String, String, Object, Exception)
public:
void Trace(System::Diagnostics::TraceEventType type, System::String ^ eventCode, System::String ^ description, System::Object ^ source, Exception ^ exception);
public void Trace (System.Diagnostics.TraceEventType type, string eventCode, string description, object source, Exception exception);
member this.Trace : System.Diagnostics.TraceEventType * string * string * obj * Exception -> unit
Parameters
- type
- TraceEventType
- eventCode
- String
- description
- String
- source
- Object
- exception
- Exception
Applies to
Trace(TraceEventType, String, String, Object, TraceRecord, Exception)
public:
void Trace(System::Diagnostics::TraceEventType type, System::String ^ eventCode, System::String ^ description, System::Object ^ source, Microsoft::ServiceModel::Channels::Common::TraceRecord ^ extendedData, Exception ^ exception);
public void Trace (System.Diagnostics.TraceEventType type, string eventCode, string description, object source, Microsoft.ServiceModel.Channels.Common.TraceRecord extendedData, Exception exception);
member this.Trace : System.Diagnostics.TraceEventType * string * string * obj * Microsoft.ServiceModel.Channels.Common.TraceRecord * Exception -> unit
Parameters
- type
- TraceEventType
- eventCode
- String
- description
- String
- source
- Object
- extendedData
- TraceRecord
- exception
- Exception