Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

AssertSettings Class [IIS 7 and higher]

IIS 7.0

Specifies the user-interface mode for the System.Diagnostics.Debug.Assert method and the name of a message log file.

class AssertSettings : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the AssertSettings class.

Name

Description

AssertUIEnabled

A read/write boolean value. true if user-interface mode is enabled for the Debug.Assert method; otherwise, false. The default is true.

NoteNote:
In user-interface mode, a message box is displayed when you call the Debug.Assert method.

LogFileName

A read/write string value that specifies the name of a log file to write trace or debug messages to.

This class contains no subclasses.

Instances of this class are contained in the Assert property of the SystemDiagnosticsSection class.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2015 Microsoft