System.Object
ContentRequestType
Client Declaration
public class ContentRequestType
Represents a request to get the streaming content data from a content element of a content-carrying object. An array of ContentRequestType
elements is contained in a GetContentRequest
element, which provides the input to a GetContent
operation.
Elements
ElementSpecificationType
ElementSpecification
: [request] Required element specifying the content element from which the content data will be read.ObjectReference
SourceSpecification
: [request] Required element specifying the content-carrying object to which the content element belongs.Attributes
Boolean
cacheAllowed
: [request] Optional expression specifying whether
the server is permitted to satisfy the request from cached data or must instead retrieve
fresh data from the underlying storage.String
continueFrom
: [request] Optional expression specifying a string returned in a ContentElementResponse
response for the same content element specified by this request, allowing reading to continue from the point reached by a previous response.String
id
: [request] Optional expression specifying a unique correlation string, which is used to match a ContentRequestType
request with a ContentResponseType
response.Int32
maxBytes
: [request] Optional expression specifying the maximum number of bytes of content data to read.UInt64
startOffset
: [request] Optional expression specifying an offset from which to start reading the content data. Attributes Specific to .NET Clients
Boolean
cacheAllowedSpecified
: Optional expression specifying whether cacheAllowed
has a value (true
) or not (false
).Boolean
maxBytesSpecified
: Optional expression specifying whether maxBytes
has a value (true
) or not (false
).Boolean
startOffsetSpecified
: Optional expression specifying whether startOffset
has a value (true
) or not (false
).
<xsd:complexType name="ContentRequestType"> <xsd:sequence> <xsd:element name="SourceSpecification" type="ObjectReference"/> <xsd:element name="ElementSpecification" type="ElementSpecificationType"/> <xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="cacheAllowed" type="xsd:boolean"/> <xsd:attribute name="continueFrom" type="xsd:string"/> <xsd:attribute name="startOffset" type="xsd:unsignedLong"/> <xsd:attribute name="maxBytes" type="xsd:int"/> </xsd:complexType>