Share via


RequestContextFactory Class

Definition

Creates instances of IRequestContext.

public sealed class RequestContextFactory
type RequestContextFactory = class
Public NotInheritable Class RequestContextFactory
Inheritance
RequestContextFactory

Properties

Instance

Gets an instance of the request context factory.

Methods

Create()

Creates a request context object which will use a randomly generated correlation Id and a unique request Id for each partner API call.

Create(Guid, Guid, String)

Creates a request context object with the provided correlation, request Ids and locale.

Create(Guid, Guid)

Creates a request context object with the provided correlation and request Ids.

Create(Guid, String)

Creates a request context object with the provided correlation Id, a unique request Id and provided locale for each partner API call.

Create(Guid)

Creates a request context object with the provided correlation Id and a unique request Id for each partner API call.

Create(String)

Creates a request context object which will use a randomly generated correlation Id, a unique request Id and provided locale for each partner API call.

Applies to