Show / Hide Table of Contents

Class TrackbackMessageSentEventArgs

Provides data for the SendCompleted event.

Inheritance
System.Object
System.EventArgs
TrackbackMessageSentEventArgs
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 Source

TrackbackMessageSentEventArgs()

Initializes a new instance of the TrackbackMessageSentEventArgs class.

Declaration
public TrackbackMessageSentEventArgs()
| Improve this Doc View Source

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 host is a null reference (Nothing in Visual Basic).

System.ArgumentNullException

The message is a null reference (Nothing in Visual Basic).

System.ArgumentNullException

The response is a null reference (Nothing in Visual Basic).

| Improve this Doc View Source

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 host is a null reference (Nothing in Visual Basic).

System.ArgumentNullException

The message is a null reference (Nothing in Visual Basic).

System.ArgumentNullException

The response is a null reference (Nothing in Visual Basic).

Properties

| Improve this Doc View Source

Credentials

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

CompareTo(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 obj is not the expected System.Type.

| Improve this Doc View Source

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
System.Object.Equals(System.Object)
| Improve this Doc View Source

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
System.Object.GetHashCode()
| Improve this Doc View Source

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
System.Object.ToString()
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 Source

Equality(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

System.IComparable

See Also

SendAsync(TrackbackMessage, Object)
TrackbackClient
  • Improve this Doc
  • View Source
Back to top Generated by DocFX