Extension function to delete the named destination by parsing the embedded type prefix.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub DeleteDestination ( _ session As ISession, _ destinationName As String, _ defaultType As DestinationType _ ) |
C# |
---|
public static void DeleteDestination( this ISession session, string destinationName, DestinationType defaultType ) |
Visual C++ |
---|
[ExtensionAttribute] public: static void DeleteDestination( ISession^ session, String^ destinationName, DestinationType defaultType ) |
JavaScript |
---|
Apache.NMS.SessionExtensions.deleteDestination = function(session, destinationName, defaultType); |
Parameters
- session
- Type: Apache.NMS..::..ISession
- destinationName
- Type: System..::..String
- defaultType
- Type: Apache.NMS..::..DestinationType