EventHubBatchContainer.ImportRequestContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives an opportunity to IBatchContainer to set any data in the RequestContext before this IBatchContainer is sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data.
public bool ImportRequestContext ();
abstract member ImportRequestContext : unit -> bool
override this.ImportRequestContext : unit -> bool
Public Function ImportRequestContext () As Boolean
Returns
True if the RequestContext was indeed modified, false otherwise.