Current
staticget
public static DurableTaskContext CurrentGets the context of the durable task which the calling code runs in.
Exceptions
System.InvalidOperationException- The calling code isn't running in a durable task.
public static DurableTaskContext CurrentSystem.InvalidOperationException