GetSemaphore Method
GetSemaphore(string)
Gets a ISemaphore distributed object.
Declaration
Task<ISemaphore> GetSemaphore(string name)
Parameters
string | name | The unique name of the semaphore. |
Returns
Task<ISemaphore> | The semaphore distributed object that was retrieved or created. |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object with that name is created.