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 of unknown type.
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 _
)
'Usage
Dim obj As Object
Dim output As HtmlTextWriter
Dim name As String
DumpUtils.DumpObject(obj, output, name)
public static void DumpObject(
Object obj,
HtmlTextWriter output,
string name
)
public:
static void DumpObject(
Object^ obj,
HtmlTextWriter^ output,
String^ name
)
public static function DumpObject(
obj : Object,
output : HtmlTextWriter,
name : String
)
Parameters
- obj
Type: System..::.Object
Object to dump.
- output
Type: System.Web.UI..::.HtmlTextWriter
The HtmlTextWriter output stream.
- name
Type: System..::.String
Name of object for display.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The output or name is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
Use this method to dump an object of unknown type.
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.