INewsOperations Interface

Definition

NewsOperations operations.

public interface INewsOperations
type INewsOperations = interface
Public Interface INewsOperations
Derived

Methods

CategoryWithHttpMessagesAsync(String, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, String, String, Nullable<Boolean>, String, Dictionary<String,List<String>>, CancellationToken)

The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

SearchWithHttpMessagesAsync(String, String, String, String, String, String, String, Nullable<Int32>, String, String, Nullable<Int32>, Nullable<Boolean>, String, String, String, Nullable<Boolean>, String, Dictionary<String,List<String>>, CancellationToken)

The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

TrendingWithHttpMessagesAsync(String, String, String, String, String, String, Nullable<Int32>, String, Nullable<Int32>, String, String, Nullable<Int64>, String, Nullable<Boolean>, String, Dictionary<String,List<String>>, CancellationToken)

The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

Extension Methods

CategoryAsync(INewsOperations, String, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, String, String, Nullable<Boolean>, String, CancellationToken)

The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

SearchAsync(INewsOperations, String, String, String, String, String, String, String, Nullable<Int32>, String, String, Nullable<Int32>, Nullable<Boolean>, String, String, String, Nullable<Boolean>, String, CancellationToken)

The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

TrendingAsync(INewsOperations, String, String, String, String, String, String, Nullable<Int32>, String, Nullable<Int32>, String, String, Nullable<Int64>, String, Nullable<Boolean>, String, CancellationToken)

The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see Searching the web for news.

Applies to