ThreadSafeAttribute Class

Definition

T:System.Attribute

public sealed class ThreadSafeAttribute : Attribute
type ThreadSafeAttribute = class
    inherit Attribute
Inheritance
ThreadSafeAttribute

Remarks

This attribute is used to signal that the methods in the class that this is applied to, or the method that this is applied to can safely be called from a background thread.

The attribute is only relevant to UIKit/AppKit classes and any subclass of UIKit/AppKit types. The absence of this method in classes and methods outside of UIKit/AppKit is intentional.

Constructors

ThreadSafeAttribute()

Initializes a new ThreadSafe attribute.

ThreadSafeAttribute(Boolean)

Initializes a new ThreadSafe attribute.

Properties

Safe

If the API is thread-safe or not.

Applies to