 | TemporalClientNewWorkflowFutureStubTWorkflowInterface Method |
Creates a stub suitable for starting an external workflow and then waiting
for the result as separate operations.
Namespace:
Neon.Temporal
Assembly:
Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntaxpublic WorkflowFutureStub<TWorkflowInterface> NewWorkflowFutureStub<TWorkflowInterface>(
string methodName = null,
WorkflowOptions options = null
)
where TWorkflowInterface : class
Public Function NewWorkflowFutureStub(Of TWorkflowInterface As Class) (
Optional methodName As String = Nothing,
Optional options As WorkflowOptions = Nothing
) As WorkflowFutureStub(Of TWorkflowInterface)
public:
generic<typename TWorkflowInterface>
where TWorkflowInterface : ref class
WorkflowFutureStub<TWorkflowInterface>^ NewWorkflowFutureStub(
String^ methodName = nullptr,
WorkflowOptions^ options = nullptr
)
member NewWorkflowFutureStub :
?methodName : string *
?options : WorkflowOptions
(* Defaults:
let _methodName = defaultArg methodName null
let _options = defaultArg options null
*)
-> WorkflowFutureStub<'TWorkflowInterface> when 'TWorkflowInterface : not struct
Parameters
- methodName (Optional)
- Type: SystemString
Optionally identifies the target workflow method. This is the name specified in
[WorkflowMethod] attribute for the workflow method or null/empty for
the default workflow method.
- options (Optional)
- Type: Neon.TemporalWorkflowOptions
Optionally specifies custom WorkflowOptions.
Type Parameters
- TWorkflowInterface
- The target workflow interface.
Return Value
Type:
WorkflowFutureStubTWorkflowInterfaceA
ChildWorkflowStubTWorkflowInterface instance.
See Also