Share via


RequestContextFactory.Create Method

Definition

Overloads

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)

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.

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, Guid, String)

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

Create()

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

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create ();
member this.Create : unit -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create () As IRequestContext

Returns

A request context object.

Applies to

Create(Guid)

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

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create (Guid correlationId);
member this.Create : Guid -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create (correlationId As Guid) As IRequestContext

Parameters

correlationId
Guid

The correlation Id.

Returns

A request context object.

Applies to

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.

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create (string locale);
member this.Create : string -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create (locale As String) As IRequestContext

Parameters

locale
String

The locale.

Returns

A request context object.

Applies to

Create(Guid, Guid)

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

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create (Guid correlationId, Guid requestId);
member this.Create : Guid * Guid -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create (correlationId As Guid, requestId As Guid) As IRequestContext

Parameters

correlationId
Guid

The correlation Id.

requestId
Guid

The request Id.

Returns

A request context object.

Applies to

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.

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create (Guid correlationId, string locale);
member this.Create : Guid * string -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create (correlationId As Guid, locale As String) As IRequestContext

Parameters

correlationId
Guid

The correlation Id.

locale
String

The locale

Returns

A request context object.

Applies to

Create(Guid, Guid, String)

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

public Microsoft.Store.PartnerCenter.RequestContext.IRequestContext Create (Guid correlationId, Guid requestId, string locale);
member this.Create : Guid * Guid * string -> Microsoft.Store.PartnerCenter.RequestContext.IRequestContext
Public Function Create (correlationId As Guid, requestId As Guid, locale As String) As IRequestContext

Parameters

correlationId
Guid

The correlation Id.

requestId
Guid

The request Id.

locale
String

The locale.

Returns

A request context object.

Applies to