WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 Operating Systems: AIX, Linux, Solaris, Windows

Properties in .NET

A .NET application uses the methods in the PropertyContext interface to get and set the properties of objects.

The PropertyContext interface encapsulates methods that get and set properties. These methods are inherited, directly or indirectly, by the following classes:

If an application sets the value of a property, the new value replaces any previous value the property had.

For further information about XMS properties, see Properties of XMS objects.

For ease of use, XMS property names and values in .NET are predefined as public constants in a struct called XMSC. The names of these constants are in the form XMSC.<constant>; for example, XMSC.USERID (a property name constant) and XMSC.DELIVERY_AS_APP (a value constant).

Additionally, you can access WebSphere MQ constants by using the IBM.XMS.MQC struct. If you have already imported the IBM.XMS namespace, this means you can access the values for these properties in the form MQC.<constant>. For example, MQC.MQRO_COA_WITH_FULL_DATA.

Furthermore, if you have a hybrid application that uses both XMS .NET and WebSphere MQ classes for .NET and that imports both IBM.XMS and IBM.WMQ namespaces, then you must fully qualify the MQC struct namespace to ensure that each occurence is unique.

Some advanced functionality is not currently supported within the managed .NET environment. Refer to Managed and unmanaged operations in .NET for more details.


Concept topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.