NewsOperations Class
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.
NewsOperations operations.
public class NewsOperations : Microsoft.Azure.CognitiveServices.Search.NewsSearch.INewsOperations, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.Search.NewsSearch.NewsSearchClient>
type NewsOperations = class
interface IServiceOperations<NewsSearchClient>
interface INewsOperations
Public Class NewsOperations
Implements INewsOperations, IServiceOperations(Of NewsSearchClient)
- Inheritance
-
NewsOperations
- Implements
Constructors
NewsOperations(NewsSearchClient) |
Initializes a new instance of the NewsOperations class. |
Properties
Client |
Gets a reference to the NewsSearchClient |
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. |