Class TrackbackMessageSentEventArgs
Provides data for the SendCompleted event.
Inheritance
Implements
Inherited Members
Namespace: Argotic.Net
Assembly: Argotic.Core.dll
Syntax
[Serializable]
public class TrackbackMessageSentEventArgs : EventArgs, IComparable
Remarks
A SendCompleted event occurs whenever the SendAsync(TrackbackMessage, Object) method is called.
Constructors
| Improve this Doc View SourceTrackbackMessageSentEventArgs()
Initializes a new instance of the TrackbackMessageSentEventArgs class.
Declaration
public TrackbackMessageSentEventArgs()
TrackbackMessageSentEventArgs(Uri, TrackbackMessage, TrackbackResponse, WebRequestOptions, Object)
Initializes a new instance of the TrackbackMessageSentEventArgs class using the supplied parameters.
Declaration
public TrackbackMessageSentEventArgs(Uri host, TrackbackMessage message, TrackbackResponse response, WebRequestOptions options, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | host | A System.Uri that represents the URL of the host computer used for the XML-RPC transaction. |
TrackbackMessage | message | An TrackbackMessage that represents the Trackback ping request payload. |
TrackbackResponse | response | An TrackbackResponse that represents the response to the Trackback ping request. |
WebRequestOptions | options | A WebRequestOptions that holds options that should be applied to web requests. |
System.Object | state | A System.Object containing state information that was passed to the asynchronous send operation. This parameter may be null. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.ArgumentNullException | The |
System.ArgumentNullException | The |
TrackbackMessageSentEventArgs(Uri, TrackbackMessage, TrackbackResponse, ICredentials, IWebProxy, Object)
Initializes a new instance of the TrackbackMessageSentEventArgs class using the supplied parameters.
Declaration
public TrackbackMessageSentEventArgs(Uri host, TrackbackMessage message, TrackbackResponse response, ICredentials credentials, IWebProxy proxy, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | host | A System.Uri that represents the URL of the host computer used for the XML-RPC transaction. |
TrackbackMessage | message | An TrackbackMessage that represents the Trackback ping request payload. |
TrackbackResponse | response | An TrackbackResponse that represents the response to the Trackback ping request. |
System.Net.ICredentials | credentials | A System.Net.ICredentials that represents the authentication credentials utilized by the client when making the Trackback ping request. This parameter may be null. |
System.Net.IWebProxy | proxy | A System.Net.IWebProxy that represents the web proxy utilized by the client to proxy the Trackback ping request. This parameter may be null. |
System.Object | state | A System.Object containing state information that was passed to the asynchronous send operation. This parameter may be null. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.ArgumentNullException | The |
System.ArgumentNullException | The |
Properties
| Improve this Doc View SourceCredentials
Gets the authentication credentials utilized by the client when making the Trackback ping request.
Declaration
public ICredentials Credentials { get; }
Property Value
Type | Description |
---|---|
System.Net.ICredentials | A System.Net.ICredentials that represents the authentication credentials utilized by the client when making the Trackback ping request. If no credentials were provided, returns null. |
Empty
Represents an syndication resource loaded event with no event data.
Declaration
public static TrackbackMessageSentEventArgs Empty { get; }
Property Value
Type | Description |
---|---|
TrackbackMessageSentEventArgs | An uninitialized instance of the TrackbackMessageSentEventArgs class. |
Remarks
The value of Empty is a read-only instance of TrackbackMessageSentEventArgs equivalent to the result of calling the TrackbackMessageSentEventArgs() constructor.
Host
Gets the the location of the host computer that the Trackback ping request was sent to.
Declaration
public Uri Host { get; }
Property Value
Type | Description |
---|---|
System.Uri | A System.Uri that represents the URL of the host computer used for the XML-RPC transaction. |
Message
Gets the Trackback ping request payload that was sent.
Declaration
public TrackbackMessage Message { get; }
Property Value
Type | Description |
---|---|
TrackbackMessage | An TrackbackMessage that represents the Trackback ping request payload. |
Proxy
Gets the web proxy utilized by the client to proxy the Trackback ping request.
Declaration
public IWebProxy Proxy { get; }
Property Value
Type | Description |
---|---|
System.Net.IWebProxy | A System.Net.IWebProxy that represents the web proxy utilized by the client to proxy the Trackback ping request. If no proxy was used, returns null. |
Response
Gets the response to the Trackback ping request.
Declaration
public TrackbackResponse Response { get; }
Property Value
Type | Description |
---|---|
TrackbackResponse | An TrackbackResponse that represents the response to the Trackback ping request. |
State
Gets an System.Object containing state information that was passed to the asynchronous send operation.
Declaration
public object State { get; }
Property Value
Type | Description |
---|---|
System.Object | A System.Object containing state information that was passed to the asynchronous send operation. If no user token provided, returns null. |
Methods
| Improve this Doc View SourceCompareTo(Object)
Compares the current instance with another object of the same type.
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that indicates the relative order of the objects being compared. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The |
Equals(Object)
Determines whether the specified System.Object is equal to the current instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current instance; otherwise, false. |
Overrides
GetHashCode()
Returns a hash code for the current instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer hash code. |
Overrides
ToString()
Returns a System.String that represents the current TrackbackMessageSentEventArgs.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current TrackbackMessageSentEventArgs. |
Overrides
Remarks
This method returns a human-readable string for the current instance. Hash code values are displayed for applicable properties.
Operators
| Improve this Doc View SourceEquality(TrackbackMessageSentEventArgs, TrackbackMessageSentEventArgs)
Determines if operands are equal.
Declaration
public static bool operator ==(TrackbackMessageSentEventArgs first, TrackbackMessageSentEventArgs second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackMessageSentEventArgs | first | Operand to be compared. |
TrackbackMessageSentEventArgs | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the values of its operands are equal, otherwise; false. |
GreaterThan(TrackbackMessageSentEventArgs, TrackbackMessageSentEventArgs)
Determines if first operand is greater than second operand.
Declaration
public static bool operator>(TrackbackMessageSentEventArgs first, TrackbackMessageSentEventArgs second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackMessageSentEventArgs | first | Operand to be compared. |
TrackbackMessageSentEventArgs | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is greater than the second, otherwise; false. |
Inequality(TrackbackMessageSentEventArgs, TrackbackMessageSentEventArgs)
Determines if operands are not equal.
Declaration
public static bool operator !=(TrackbackMessageSentEventArgs first, TrackbackMessageSentEventArgs second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackMessageSentEventArgs | first | Operand to be compared. |
TrackbackMessageSentEventArgs | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | false if its operands are equal, otherwise; true. |
LessThan(TrackbackMessageSentEventArgs, TrackbackMessageSentEventArgs)
Determines if first operand is less than second operand.
Declaration
public static bool operator <(TrackbackMessageSentEventArgs first, TrackbackMessageSentEventArgs second)
Parameters
Type | Name | Description |
---|---|---|
TrackbackMessageSentEventArgs | first | Operand to be compared. |
TrackbackMessageSentEventArgs | second | Operand to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first operand is less than the second, otherwise; false. |