ISessioncreateSnapshotRequestTemplate Method (String, CorrelationID, Identity) |
Create a snapshot service request template for getting subscription
data.
When creating a snapshot requests a subscription is established, but
messages are sent to the application only when requested. This reduces
latency for receiving the latest data when compared to starting a new
subscription each time.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax RequestTemplate createSnapshotRequestTemplate(
string subscriptionString,
CorrelationID statusCid,
Identity identity
)
Function createSnapshotRequestTemplate (
subscriptionString As String,
statusCid As CorrelationID,
identity As Identity
) As RequestTemplate
RequestTemplate^ createSnapshotRequestTemplate(
String^ subscriptionString,
CorrelationID^ statusCid,
Identity^ identity
)
abstract createSnapshotRequestTemplate :
subscriptionString : string *
statusCid : CorrelationID *
identity : Identity -> RequestTemplate
Parameters
- subscriptionString
- Type: SystemString
A subscription string used to create a request template.
Must be non-null and not empty.
- statusCid
- Type: Bloomberglp.BlpapiCorrelationID
A CorrelationID used for delivering request template
status updates.
Must not already be in use.
- identity
- Type: Bloomberglp.BlpapiIdentity
The Identity used to authorize access to the data for
this request template. If null the session identity will be used if
it's been authorized.
Return Value
Type:
RequestTemplate
A created
RequestTemplate.
See Also