O
Ollie
I am having problems with custom exceptions in COM+, I have read the article
in MSDN (march 2004) and implemented the correct features....
The custom exception class derives of ApplicationException and also has the
[Serializeable] attribute and has a
Serialization constructor and overriden implementation of GetObjectData....
[Serializable]
public class BaseException : System.ApplicationException,
ISerializable......
The COM+ component is used in an object pool and has the following
attrbitues
[Transaction(TransactionOption.Required,
Isolation=TransactionIsolationLevel.Serializable, Timeout=60)]
[ObjectPooling(Enabled=true, MinPoolSize=2, MaxPoolSize=20,
CreationTimeout=30)]
[ClassInterface(ClassInterfaceType.AutoDual)]
[EventTrackingEnabled (true)]
public class XXXX : ServicedComponent, IXXXX.....
Where IXXXX is the public interface.
Can anyone tell me why I am still only get System.Exception on the client
side of the COM+ boundary and not my custom exception
Cheers in advance
Ollie
in MSDN (march 2004) and implemented the correct features....
The custom exception class derives of ApplicationException and also has the
[Serializeable] attribute and has a
Serialization constructor and overriden implementation of GetObjectData....
[Serializable]
public class BaseException : System.ApplicationException,
ISerializable......
The COM+ component is used in an object pool and has the following
attrbitues
[Transaction(TransactionOption.Required,
Isolation=TransactionIsolationLevel.Serializable, Timeout=60)]
[ObjectPooling(Enabled=true, MinPoolSize=2, MaxPoolSize=20,
CreationTimeout=30)]
[ClassInterface(ClassInterfaceType.AutoDual)]
[EventTrackingEnabled (true)]
public class XXXX : ServicedComponent, IXXXX.....
Where IXXXX is the public interface.
Can anyone tell me why I am still only get System.Exception on the client
side of the COM+ boundary and not my custom exception
Cheers in advance
Ollie