BuildIt.CognitiveServices.NewsSearchAPIV5Extensions.SearchAsync C# (CSharp) Метод

SearchAsync() публичный статический Метод

Get news articles relevant for a given query.
public static SearchAsync ( this operations, string count = "10", string offset = "0", string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
count string /// The number of news results to return in the response. The actual number /// delivered may be less than requested. Possible values include: '10' ///
offset string /// The zero-based offset that indicates the number of news results to skip /// before returning results. Possible values include: '0' ///
mkt string /// The market where the results come from. Typically, this is the country /// where the user is making the request from; however, it could be a /// different country if the user is not located in a country where Bing /// delivers results. The market must be in the form {language code}-{country /// code}. For example, en-US. /// /// <br> /// <br> /// Full list of supported markets: /// <br> /// es-AR,en-AU,de-AT,nl-BE,fr-BE,pt-BR,en-CA,fr-CA,es-CL,da-DK,fi-FI,fr-FR,de-DE,zh-HK,en-IN,en-ID,en-IE,it-IT,ja-JP,ko-KR,en-MY,es-MX,nl-NL,en-NZ,no-NO,zh-CN,pl-PL,pt-PT,en-PH,ru-RU,ar-SA,en-ZA,es-ES,sv-SE,fr-CH,de-CH,zh-TW,tr-TR,en-GB,en-US,es-US. /// Possible values include: 'en-us' ///
safeSearch string /// A filter used to filter results for adult content. Possible values /// include: 'Off', 'Moderate', 'Strict' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task SearchAsync(this INewsSearchAPIV5 operations, string count = "10", string offset = "0", string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.SearchWithHttpMessagesAsync(count, offset, mkt, safeSearch, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }