Click or drag to resize
Request Interface
This class represents a single request to a particular service.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax
public interface Request

The Request type exposes the following members.

Properties
  NameDescription
Public propertyAsElement
Gets the contents of this Request as an element.
Public propertyElements
Gets the enumerable collection of all elements in this request.
Public propertyItemString
This is the same as GetElement(name)
Public propertyItemName
This is the same as GetElement(name)
Public propertyOperation
Gets the Operation this Request is intended to invoke on the associated Service.
Public propertyRequestId
Returns request id if one exists, otherwise, null.

If there are issues with this request, the request id can be reported to Bloomberg for troubleshooting purposes.

Note that request id is not the same as correlation id and should not be used for correlation purposes.

Top
Methods
  NameDescription
Public methodAppend(String, Constant) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Constant) instead.
Public methodAppend(String, Datetime) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Datetime) instead.
Public methodAppend(String, Name) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Name) instead.
Public methodAppend(String, Boolean) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Boolean) instead.
Public methodAppend(String, Byte) Obsolete.
Appends the specified value to the named array element of this request. Deprecated. Arrays of byte arrays are not supported. This method will always throw an NotSupportedException.
Public methodAppend(String, Char) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Char) instead.
Public methodAppend(String, Double) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Double) instead.
Public methodAppend(String, Int32) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Int32) instead.
Public methodAppend(String, Int64) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Int64) instead.
Public methodAppend(String, Single) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, Single) instead.
Public methodAppend(String, String) Obsolete.
Appends the specified value to the named array element of this request. Deprecated, use Append(Name, String) instead.
Public methodAppend(Name, Constant)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Datetime)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Name)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Boolean)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Byte) Obsolete.
Appends the specified value to the named array element of this request. Deprecated. Arrays of byte arrays are not supported. This method will always throw an NotSupportedException.
Public methodAppend(Name, Char)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Double)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Int32)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Int64)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, Single)
Appends the specified value to the named array element of this request.
Public methodAppend(Name, String)
Appends the specified value to the named array element of this request.
Public methodGetElement(String) Obsolete.
Returns the modifiable element of this request having the specified name creating it if doesn't exist already. Deprecated, use GetElement(Name) instead.
Public methodGetElement(Name)
Returns the modifiable element of this request having the specified name creating it if doesn't exist already.
Public methodHasElement(String) Obsolete.
Returns true if this request contains the element having the specified name false otherwise. Deprecated, use HasElement(Name) instead.
Public methodHasElement(Name)
Returns true if this request contains the element having the specified name false otherwise.
Public methodPrint(Stream)
Prints the contents of this message to the specified Stream.
Public methodPrint(TextWriter)
Prints the contents of this message to the specified TextWriter.
Public methodSet(String, Constant) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Constant) instead.
Public methodSet(String, Datetime) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Datetime) instead.
Public methodSet(String, Name) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Name) instead.
Public methodSet(String, Boolean) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Boolean) instead.
Public methodSet(String, Byte) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Byte) instead.
Public methodSet(String, Char) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Char) instead.
Public methodSet(String, Double) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Double) instead.
Public methodSet(String, Int32) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Int32) instead.
Public methodSet(String, Int64) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Int64) instead.
Public methodSet(String, Single) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, Single) instead.
Public methodSet(String, String) Obsolete.
Sets the element of this request having the specified name to the specified value. Deprecated, use Set(Name, String) instead.
Public methodSet(Name, Constant)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Datetime)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Name)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Boolean)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Byte)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Char)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Double)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Int32)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Int64)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, Single)
Sets the element of this request having the specified name to the specified value.
Public methodSet(Name, String)
Sets the element of this request having the specified name to the specified value.
Top
Remarks

Request objects are created using Service.CreateRequest(string) or Service.CreateAuthorizationRequest(). They are used with Session.SendRequest(Request, UserHandle, EventQueue, CorrelationID, String) or Session.SendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID, String). The Request object contains the parameters for a single request to a single service. Once a Request has been created its fields can be populated directly using the convenience functions set() and append() or using the Element interface on the Element returned by AsElement.

The schema for the Request can be queried using the Element interface on the Element returned by AsElement.

Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also