Udostępnij za pośrednictwem


ServiceBrokerClient.InvalidationSemaphore Property

Definition

Gets the semaphore that is entered to raise the Invalidated event.

public:
 property Microsoft::VisualStudio::Threading::ReentrantSemaphore ^ InvalidationSemaphore { Microsoft::VisualStudio::Threading::ReentrantSemaphore ^ get(); };
public Microsoft.VisualStudio.Threading.ReentrantSemaphore InvalidationSemaphore { get; }
member this.InvalidationSemaphore : Microsoft.VisualStudio.Threading.ReentrantSemaphore
Public ReadOnly Property InvalidationSemaphore As ReentrantSemaphore

Property Value

Remarks

This can be used to enter the same semaphore during initialization in order to ensure that an Invalidated event does not disrupt initialization.

Applies to