Sdílet prostřednictvím


ClassCleanupExecutionAttribute Class

Definition

Specification for when to run class cleanup methods.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)]
public class ClassCleanupExecutionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly)]
public class ClassCleanupExecutionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)>]
type ClassCleanupExecutionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type ClassCleanupExecutionAttribute = class
    inherit Attribute
Public Class ClassCleanupExecutionAttribute
Inherits Attribute
Inheritance
ClassCleanupExecutionAttribute
Attributes

Constructors

ClassCleanupExecutionAttribute()

Initializes a new instance of the ClassCleanupExecutionAttribute class.

ClassCleanupExecutionAttribute(ClassCleanupBehavior)

Initializes a new instance of the ClassCleanupExecutionAttribute class.

Fields

DefaultClassCleanupLifecycle

Default class cleanup execution.

Properties

CleanupBehavior

Gets when to run class cleanup methods.

Applies to