Dela via


DurableOrchestrationContextBase.WaitForExternalEvent Method

Definition

Overloads

WaitForExternalEvent(String)
WaitForExternalEvent(String, TimeSpan)
WaitForExternalEvent<T>(String, TimeSpan)
WaitForExternalEvent<T>(String)
WaitForExternalEvent<T>(String, TimeSpan, T)

WaitForExternalEvent(String)

Source:
DurableOrchestrationContextBase.cs
public virtual System.Threading.Tasks.Task WaitForExternalEvent (string name);
abstract member WaitForExternalEvent : string -> System.Threading.Tasks.Task
override this.WaitForExternalEvent : string -> System.Threading.Tasks.Task
Public Overridable Function WaitForExternalEvent (name As String) As Task

Parameters

name
String

Returns

Applies to

WaitForExternalEvent(String, TimeSpan)

Source:
DurableOrchestrationContextBase.cs
public virtual System.Threading.Tasks.Task WaitForExternalEvent (string name, TimeSpan timeout);
abstract member WaitForExternalEvent : string * TimeSpan -> System.Threading.Tasks.Task
override this.WaitForExternalEvent : string * TimeSpan -> System.Threading.Tasks.Task
Public Overridable Function WaitForExternalEvent (name As String, timeout As TimeSpan) As Task

Parameters

name
String
timeout
TimeSpan

Returns

Applies to

WaitForExternalEvent<T>(String, TimeSpan)

Source:
DurableOrchestrationContextBase.cs
public abstract System.Threading.Tasks.Task<T> WaitForExternalEvent<T> (string name, TimeSpan timeout);
abstract member WaitForExternalEvent : string * TimeSpan -> System.Threading.Tasks.Task<'T>
Public MustOverride Function WaitForExternalEvent(Of T) (name As String, timeout As TimeSpan) As Task(Of T)

Type Parameters

T

Parameters

name
String
timeout
TimeSpan

Returns

Task<T>

Applies to

WaitForExternalEvent<T>(String)

Source:
DurableOrchestrationContextBase.cs
public abstract System.Threading.Tasks.Task<T> WaitForExternalEvent<T> (string name);
abstract member WaitForExternalEvent : string -> System.Threading.Tasks.Task<'T>
Public MustOverride Function WaitForExternalEvent(Of T) (name As String) As Task(Of T)

Type Parameters

T

Parameters

name
String

Returns

Task<T>

Applies to

WaitForExternalEvent<T>(String, TimeSpan, T)

Source:
DurableOrchestrationContextBase.cs
public abstract System.Threading.Tasks.Task<T> WaitForExternalEvent<T> (string name, TimeSpan timeout, T defaultValue);
abstract member WaitForExternalEvent : string * TimeSpan * 'T -> System.Threading.Tasks.Task<'T>
Public MustOverride Function WaitForExternalEvent(Of T) (name As String, timeout As TimeSpan, defaultValue As T) As Task(Of T)

Type Parameters

T

Parameters

name
String
timeout
TimeSpan
defaultValue
T

Returns

Task<T>

Applies to