Share via


GloballySynchronizedAttribute Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Indicates that a particular method is globally synchronized.

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SPOT..::..GloballySynchronizedAttribute

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method, Inherited := False)> _
Public NotInheritable Class GloballySynchronizedAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, Inherited = false)]
public sealed class GloballySynchronizedAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Constructor|AttributeTargets::Method, Inherited = false)]
public ref class GloballySynchronizedAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, Inherited = false)>]
type GloballySynchronizedAttribute =  
    class
        inherit Attribute
    end
public final class GloballySynchronizedAttribute extends Attribute

The GloballySynchronizedAttribute type exposes the following members.

Constructors

  Name Description
Public method GloballySynchronizedAttribute Creates a new instance of the GloballySynchronizedAttribute class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Applying this attribute to a method provides concurrency protection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT Namespace