Documentation of the CarRentalAgentService

RegionResponse Class

An instance of this class is returned from CarRentalAgentService interface for a single Region-based operation.

For a list of all members of this type, see RegionResponse Members.

System.Object
   Response
      RegionResponse

public class RegionResponse : Response

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class is the specific implementation of a Response used by service operations related to single Region queries.

An instance of this class is returned by a call of each SOAP-/POST-Implementation of GetRegion - Method.

Example

This example shows how to read the resulting response from a single region query.

[C#]
RegionRequest rq = new RegionRequest();
rq.Ticket = this.serviceTicket;
rq.Operation.Target = OperationTarget.Test;
rq.Id = 21;

RegionResponse rs = this.service.GetRegion(rq);

Region myRegion = rs.Region;

Console.WriteLine("Loaded Region: {0}", myRegion.Name);

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)

See Also

RegionResponse Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Region | RegionRequest