Partilhar via


DumpObject Method (Object, HtmlTextWriter, String, Int32)

Dumps an object to the HtmlTextWriter.

Namespace:  Microsoft.CommerceServer.Runtime.Diagnostics
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Shared Sub DumpObject ( _
    obj As Object, _
    output As HtmlTextWriter, _
    name As String, _
    level As Integer _
)
'Usage
Dim obj As Object
Dim output As HtmlTextWriter
Dim name As String
Dim level As Integer

DumpUtils.DumpObject(obj, output, name, _
    level)
public static void DumpObject(
    Object obj,
    HtmlTextWriter output,
    string name,
    int level
)
public:
static void DumpObject(
    Object^ obj, 
    HtmlTextWriter^ output, 
    String^ name, 
    int level
)
public static function DumpObject(
    obj : Object, 
    output : HtmlTextWriter, 
    name : String, 
    level : int
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The output or name is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Use this method to dump an object to the HtmlTextWriter object.

Permissions

See Also

Reference

DumpUtils Class

DumpUtils Members

DumpObject Overload

Microsoft.CommerceServer.Runtime.Diagnostics Namespace