RequestBase Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 RequestBase Class
Patterns-In-Action! ApplicationActionService.MessageBaseRequestBase
Base class for all client request messages of the web service. It standardizes communication between web services and clients with a series of common values. Derived request message classes assign values to these variables. There are no default values.
Declaration Syntax
C# Visual Basic
public class RequestBase
Public Class RequestBase
Members
All Members Constructors Methods Fields



Icon Member Description
RequestBase()()()
Initializes a new instance of the RequestBase class

AccessToken
Each web service request carries a security token as an extra level of security. Tokens are issued when users are coming online. They can expire if necessary. Google.com and Amazon.com uses this in their API.

Action
Crud action: Create, Read, Update, Delete

ClientTag
Each web service request carries a security token as an extra level of security. Tokens are issued when users are coming online. They can expire if necessary. Google.com and Amazon.com uses this in their API.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
LoadOptions
Load options indicated what types are to be returned in the request.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RequestId
A unique number (ideally a Guid) issued by the client representing the instance of the request. Avoids rapid-fire processing of the same request over and over in denial-of-service type attacks.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Version
Minimum version number that client request is required to run under. This facilitates a certain level of backward compatibility for when the web service API evolves. Ebay.com uses the version number in their API.

Inheritance Hierarchy

Assembly: ActionService (Module: ActionService) Version: 1.0.0.0 (1.0.0.0)