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 |
---|---|
Cancels the transaction and raises the Transaction.Canceled event. |
|
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 |
---|---|
Data type: DateTime Access type: Read-only Contains the date and time the transaction originated. |
|
Data type: Request Access type: Read-only Contains the Request object that initiated the transaction. |
|
Data type: ResponseCollection Access type: Read-only Contains a collection of all Response Sip Class objects associated with the transaction. |
|
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 |
---|---|
Occurs when the transaction is canceled. |
|
Occurs when the transaction is terminated. |
|
Occurs when the transaction times out. |
Protected Methods
The Transaction (Microsoft.Rtc.Sip) class has the following protected methods.
Method |
Description |
---|---|
Throws ObjectDisposedException if the transaction is in the disposed state. |
|
Releases all resources associated with the transaction. |
|
Destroys this transaction and releases all unmanaged resources as well as optionally releasing all managed ones. |
|
Provides a finalizer for this instance of the Transaction class. |
|
Raises the Transaction.Canceled event. |
|
Raises the Transaction.Terminated event. |
|
Raises the Transaction.TimedOut event. |
Requirements
Redistributable: Requires Microsoft Lync Server 2010
Namespace:Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)