Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- obj
Type: System..::.Object
The object to be dumped
- output
Type: System.Web.UI..::.HtmlTextWriter
The output stream to dump to.
- name
Type: System..::.String
Name of the object to output.
- level
Type: System..::.Int32
Indentation level.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.