Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsUtils Members

EmsUtils overview

Public Static (Shared) Methods

CloseConnectionOverloaded. Close the given EMS Connection and ignore any thrown exception. This is useful for typical
finally
blocks in manual EMS code.
CloseMessageConsumer Close the given EMS MessageConsumer and ignore any thrown exception. This is useful for typical
finally
blocks in manual EMS code.
CloseMessageProducer Close the given EMS MessageProducer and ignore any thrown exception. This is useful for typical
finally
blocks in manual EMS code.
CloseQueueBrowser Closes the given queue browser and ignore any thrown exception. This is useful for typical
finally
blocks in manual EMS code.
CloseSession Close the given EMS Session and ignore any thrown exception. This is useful for typical
finally
blocks in manual EMS code.
CommitIfNecessary Commit the Session if not within a distributed transaction.
ConvertAcknowledgementMode Converts the acknowledgement mode from an integer to an enumeration. If the integer does not match a valid enumeration, the returned enumeration is SessionMode.AutoAcknowledge
RollbackIfNecessary Rollback the Session if not within a distributed transaction.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

EmsUtils Constructor Initializes a new instance of the EmsUtils class.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

EmsUtils Class | Spring.Messaging.Ems.Support Namespace