Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsUtils Members

NmsUtils overview

Public Static (Shared) Methods

CloseConnectionOverloaded. Close the given NMS Connection and ignore any thrown exception. This is useful for typical
finally
blocks in manual NMS code.
CloseMessageConsumer Close the given NMS MessageConsumer and ignore any thrown exception. This is useful for typical
finally
blocks in manual NMS code.
CloseMessageProducer Close the given NMS MessageProducer and ignore any thrown exception. This is useful for typical
finally
blocks in manual NMS code.
CloseSession Close the given NMS Session and ignore any thrown exception. This is useful for typical
finally
blocks in manual NMS code.
CommitIfNecessary Commit the Session if not within a distributed transaction.
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

NmsUtils Constructor Initializes a new instance of the NmsUtils 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

NmsUtils Class | Spring.Messaging.Nms.Support Namespace