IFeedResourceProvider.OnResourceRequested(FeedResourceRequestedArgs) 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.
Raised when the feed's content requests a resource that matches the web request filter string for a feed in the WebRequestFilter attribute of the Definition element in the provider's package manifest file. For more information, see Feed provider package manifest XML format.
public:
void OnResourceRequested(FeedResourceRequestedArgs ^ args);
void OnResourceRequested(FeedResourceRequestedArgs const& args);
public void OnResourceRequested(FeedResourceRequestedArgs args);
function onResourceRequested(args)
Public Sub OnResourceRequested (args As FeedResourceRequestedArgs)
Parameters
A FeedResourceRequestedArgs containing information about the resource request.
Remarks
If the provider returns the OnResourceRequested) call without setting a FeedResourceResponse in the FeedResourceRequestedArgs, a web fetch will be made. When returning without a FeedResourceResponse, the provider may modify the Headers collection which will then be used by the web fetch.