TimerEventSubscriptionCollection.Remove 메서드

정의

타이머 큐에서 지정된 TimerEventSubscription 값을 제거합니다.

오버로드

Name Description
Remove(Guid)

TimerEventSubscription 타이머 큐에서 지정된 구독 ID가 있는 구독을 제거합니다.

Remove(TimerEventSubscription)

타이머 큐에서 제거합니다 TimerEventSubscription .

Remove(Guid)

TimerEventSubscription 타이머 큐에서 지정된 구독 ID가 있는 구독을 제거합니다.

public:
 void Remove(Guid timerSubscriptionId);
public void Remove(Guid timerSubscriptionId);
member this.Remove : Guid -> unit
Public Sub Remove (timerSubscriptionId As Guid)

매개 변수

timerSubscriptionId
Guid

Guid 제거할 항목 TimerEventSubscription 입니다.

설명

TimerEventSubscription 타이머 큐에서 지정된 구독 ID를 사용하여 제거합니다. 큐의 구독은 해당 값에 TimerEventSubscription.ExpiresAt 따라 배치됩니다. 값이 더 작은 구독은 값이 큰 구독 앞에 배치됩니다. 제거된 구독이 큐 WorkflowSchedulerService.Cancel 의 시작 부분에 있는 구독인 경우 이 구독과 연결된 타이머 이벤트를 취소하기 위해 호출되고 WorkflowSchedulerService.Schedule(WaitCallback, Guid, DateTime, Guid) 큐의 시작 부분에 있는 구독에 대한 타이머 이벤트를 예약하기 위해 호출됩니다. Remove(Guid)는 스레드 안전성을 가지고 있습니다.

적용 대상

Remove(TimerEventSubscription)

타이머 큐에서 제거합니다 TimerEventSubscription .

public:
 void Remove(System::Workflow::Runtime::TimerEventSubscription ^ item);
public void Remove(System.Workflow.Runtime.TimerEventSubscription item);
member this.Remove : System.Workflow.Runtime.TimerEventSubscription -> unit
Public Sub Remove (item As TimerEventSubscription)

매개 변수

item
TimerEventSubscription

TimerEventSubscription 타이머 큐에서 제거할 항목입니다.

예외

item null 참조입니다(Visual Basic Nothing).

설명

타이머 큐에서 제거합니다 TimerEventSubscription . 큐의 구독은 해당 값에 TimerEventSubscription.ExpiresAt 따라 배치됩니다. 값이 더 작은 구독은 값이 큰 구독 앞에 배치됩니다. 제거된 구독이 큐 WorkflowSchedulerService.Cancel 의 시작 부분에 있는 구독인 경우 이 구독과 연결된 타이머 이벤트를 취소하기 위해 호출되고 WorkflowSchedulerService.Schedule(WaitCallback, Guid, DateTime, Guid) 큐의 시작 부분에 있는 구독에 대한 타이머 이벤트를 예약하기 위해 호출됩니다. Remove(Guid)는 스레드 안전성을 가지고 있습니다.

적용 대상