This tag is used to describe how a class or structure behaves in multi-threaded scenarios. This is a top-level tag which may be used only in a class or structure.

Syntax

<threadsafety static="true|false" instance="true|false"/>

or

<threadsafety static="true|false" instance="true|false">custom text</threadsafety>

where:

static="true|false"

Indicates whether any static (Shared in Visual Basic) members of this type are thread safe.

instance="true|false"

Indicates whether any instance members of this type are thread safe.

custom text

If specified, the static and instance attributes are ignored and the text will be shown in generated documentation.

Examples

 

See Also