Partager via


AdmContentBuilder.EndCategory Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Ends the current category.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.Adm
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicSubEndCategory
publicvoidEndCategory()
public:
voidEndCategory()
publicfunctionEndCategory()

Remarks

If the current category has a parent category, the parent category is made the current category.

Exceptions

Exception Condition
System.InvalidOperationException when there is no current category.
System.InvalidOperationException when there is an unfinished policy being built.

See Also

AdmContentBuilder Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.Adm Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.