UaClient/ServiceModel/Ua/MonitoredItemServiceSet.cs
/// <summary>
/// Creates and adds one or more MonitoredItems to a Subscription.
/// </summary>
/// <param name="channel">A instance of <see cref="IRequestChannel"/>.</param>
/// <param name="request">A <see cref="CreateMonitoredItemsRequest"/>.</param>
/// <returns>A <see cref="Task"/> representing the asynchronous operation that returns a <see cref="CreateMonitoredItemsResponse"/>.</returns>
Creates and adds one or more MonitoredItems to a Subscription.
Creates and adds one or more MonitoredItems to a Subscription .
public static async Task<CreateMonitoredItemsResponse> CreateMonitoredItemsAsync(this IRequestChannel channel, CreateMonitoredItemsRequest request)
        {
            if (request == null)
            {
                throw new ArgumentNullException(nameof(request));
            }
            return (CreateMonitoredItemsResponse)await channel.RequestAsync(request).ConfigureAwait(false);
        }
public static async Task < CreateMonitoredItemsResponse > CreateMonitoredItemsAsync ( this IRequestChannel channel , CreateMonitoredItemsRequest request ) { if ( request == null ) { throw new ArgumentNullException ( nameof ( request ) ) ; } return ( CreateMonitoredItemsResponse ) await channel . RequestAsync ( request ) . ConfigureAwait ( false ) ; }
Creates and adds one or more MonitoredItems to a Subscription.
Creates and adds one or more MonitoredItems to a Subscription .
A  representing the asynchronous operation that returns a .
A representing the asynchronous operation that returns a .
IRequestChannel
this
request
CreateMonitoredItemsRequest
None
channel
A instance of .
A instance of .