Compartilhar via


Transaction class

 
Microsoft Office Live Communications Server 2005 with SP1

Transaction (Microsoft.Rtc.Sip)

The Transaction class provides the abstract base class for the ServerTransaction and ClientTransaction classes, and represents a generic SIP transaction.

This class implements the IDisposable interface.

The Transaction class is derived from the System.Object class.

Public Methods

The Transaction (Microsoft.Rtc.Sip) class has the following public methods.

Method Description
Cancel()

Cancels the transaction and raises the Canceled event.

Dispose()

Destroys this transaction and releases all associated resources.

Equals(Object)

Inherited from System.Object. Determines whether the specified System.Object is equal to the current System.Object.

GetHashCode()

Inherited from System.Object. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetType()

Inherited from System.Object. Gets the System.Type of the current instance.

ToString()

Inherited from System.Object. Returns a System.String that represents the current System.Object.

Public Properties

The Transaction (Microsoft.Rtc.Sip) class has the following public properties.

Property Description
OriginationTime Data type: DateTime
Access type: Read-only

Contains the date and time the transaction originated.

Request Data type: Request
Access type: Read-only

Contains the Request object that initiated the transaction.

Responses Data type: ResponseCollection
Access type: Read-only

Contains a collection of all Response objects associated with the transaction.

SyncRoot Data type: Object
Access type: Read-only

Contains an object used for synchronizing access to a group of objects related to a server or UAC client transaction.

Public Events

The Transaction (Microsoft.Rtc.Sip) class has the following public events.

Event Description
Canceled

Occurs when the transaction is canceled.

Terminated

Occurs when the transaction is terminated.

TimedOut

Occurs when the transaction times out.

Protected Methods

The Transaction (Microsoft.Rtc.Sip) class has the following protected methods.

Method Description
CheckDisposed()

Throws ObjectDisposedException if the transaction is in the disposed state.

Close()

Releases all resources associated with the transaction.

Dispose(Boolean)

Destroys this transaction and releases all unmanaged resources as well as optionally releasing all managed ones.

Finalize()

Provides a finalizer for this instance of the Transaction class.

OnCanceled()

Raises the Transaction.Canceled event.

OnTerminated()

Raises the Transaction.Terminated event.

OnTimedOut()

Raises the Transaction.TimedOut event.

Requirements

Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

ClientTransaction, ServerTransaction

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.