Bloomberg API for .NET
Subscription Constructor (security, fields, options, correlationID)
NamespacesBloomberglp.BlpapiSubscriptionSubscription(String, IList<(Of <<'(String>)>>), IList<(Of <<'(String>)>>), CorrelationID)
Initializes a new instance of the Subscription class
Declaration Syntax
C#Visual BasicVisual C++
public Subscription(
	string security,
	IList<string> fields,
	IList<string> options,
	CorrelationID correlationID
)
Public Sub New ( 
	security As String,
	fields As IList(Of String),
	options As IList(Of String),
	correlationID As CorrelationID
)
public:
Subscription(
	String^ security, 
	IList<String^>^ fields, 
	IList<String^>^ options, 
	CorrelationID^ correlationID
)
Parameters
security (String)
fields (IList<(Of <(<'String>)>)>)
options (IList<(Of <(<'String>)>)>)
correlationID (CorrelationID)
Exceptions
ExceptionCondition
ArgumentException The input security or fields is null or empty.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1