Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 | |
|---|---|---|
![]() |
GloballySynchronizedAttribute | Creates a new instance of the GloballySynchronizedAttribute class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
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.
.gif)