CimSession.SubscribeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SubscribeAsync(String, String, String)
public:
Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimSubscriptionResult ^> ^ SubscribeAsync(System::String ^ namespaceName, System::String ^ queryDialect, System::String ^ queryExpression);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult> SubscribeAsync (string namespaceName, string queryDialect, string queryExpression);
member this.SubscribeAsync : string * string * string -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult>
Public Function SubscribeAsync (namespaceName As String, queryDialect As String, queryExpression As String) As CimAsyncMultipleResults(Of CimSubscriptionResult)
Parameters
- namespaceName
- String
- queryDialect
- String
- queryExpression
- String
Returns
Applies to
SubscribeAsync(String, String, String, CimOperationOptions)
public:
Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimSubscriptionResult ^> ^ SubscribeAsync(System::String ^ namespaceName, System::String ^ queryDialect, System::String ^ queryExpression, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ operationOptions);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult> SubscribeAsync (string namespaceName, string queryDialect, string queryExpression, Microsoft.Management.Infrastructure.Options.CimOperationOptions operationOptions);
member this.SubscribeAsync : string * string * string * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult>
Public Function SubscribeAsync (namespaceName As String, queryDialect As String, queryExpression As String, operationOptions As CimOperationOptions) As CimAsyncMultipleResults(Of CimSubscriptionResult)
Parameters
- namespaceName
- String
- queryDialect
- String
- queryExpression
- String
- operationOptions
- CimOperationOptions
Returns
Applies to
SubscribeAsync(String, String, String, CimSubscriptionDeliveryOptions)
public:
Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimSubscriptionResult ^> ^ SubscribeAsync(System::String ^ namespaceName, System::String ^ queryDialect, System::String ^ queryExpression, Microsoft::Management::Infrastructure::Options::CimSubscriptionDeliveryOptions ^ options);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult> SubscribeAsync (string namespaceName, string queryDialect, string queryExpression, Microsoft.Management.Infrastructure.Options.CimSubscriptionDeliveryOptions options);
member this.SubscribeAsync : string * string * string * Microsoft.Management.Infrastructure.Options.CimSubscriptionDeliveryOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult>
Public Function SubscribeAsync (namespaceName As String, queryDialect As String, queryExpression As String, options As CimSubscriptionDeliveryOptions) As CimAsyncMultipleResults(Of CimSubscriptionResult)
Parameters
- namespaceName
- String
- queryDialect
- String
- queryExpression
- String
- options
- CimSubscriptionDeliveryOptions
Returns
Applies to
SubscribeAsync(String, String, String, CimOperationOptions, CimSubscriptionDeliveryOptions)
public:
Microsoft::Management::Infrastructure::Generic::CimAsyncMultipleResults<Microsoft::Management::Infrastructure::CimSubscriptionResult ^> ^ SubscribeAsync(System::String ^ namespaceName, System::String ^ queryDialect, System::String ^ queryExpression, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ operationOptions, Microsoft::Management::Infrastructure::Options::CimSubscriptionDeliveryOptions ^ options);
public Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult> SubscribeAsync (string namespaceName, string queryDialect, string queryExpression, Microsoft.Management.Infrastructure.Options.CimOperationOptions operationOptions, Microsoft.Management.Infrastructure.Options.CimSubscriptionDeliveryOptions options);
member this.SubscribeAsync : string * string * string * Microsoft.Management.Infrastructure.Options.CimOperationOptions * Microsoft.Management.Infrastructure.Options.CimSubscriptionDeliveryOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncMultipleResults<Microsoft.Management.Infrastructure.CimSubscriptionResult>
Public Function SubscribeAsync (namespaceName As String, queryDialect As String, queryExpression As String, operationOptions As CimOperationOptions, options As CimSubscriptionDeliveryOptions) As CimAsyncMultipleResults(Of CimSubscriptionResult)
Parameters
- namespaceName
- String
- queryDialect
- String
- queryExpression
- String
- operationOptions
- CimOperationOptions
- options
- CimSubscriptionDeliveryOptions