Share via


IFeedResourceProvider.OnResourceRequested(FeedResourceRequestedArgs) Method

Definition

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

args
FeedResourceRequestedArgs

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.

Applies to

See also