Returns a value indicating if a trackback ping references the content it is pinging.
Namespace:
Argotic.Core.WebAssembly: Argotic.Core (in Argotic.Core)
Version: 2007.3.0.0 (2007.3.0.0)
Syntax
| C# |
|---|
protected virtual TrackbackPingReferencesContent PingReferencesTarget( Uri pingSource, HttpRequest request ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Function PingReferencesTarget ( _ pingSource As Uri, _ request As HttpRequest _ ) As TrackbackPingReferencesContent |
| Visual C++ |
|---|
protected: virtual TrackbackPingReferencesContent PingReferencesTarget( Uri^ pingSource, HttpRequest^ request ) |
Parameters
- pingSource
- Type: System..::.Uri
A Uri that represents the permalink for the web log entry the trackback service is being notified about.
- request
- Type: System.Web..::.HttpRequest
A HttpRequest that provides request information that can be used to determine if a trackback ping references the target content.
Return Value
Yes if the pingSource content contains at least one reference to the content being pinged, No if the pingSource content does not contain a reference to the content being pinged; otherwise should return Indeterminate if unable to determine or the pingSource is inaccessible.
Remarks
Override the PingReferencesTarget virtual method to customize how your pingable content is referenced by the source of the trackback ping is determined.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | The pingSource is a null reference (Nothing in Visual Basic). |
| System..::.ArgumentNullException | The request is a null reference (Nothing in Visual Basic). |
