Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a Transactional Class be Serialized ?

Status
Not open for further replies.

vikaskalra

Technical User
Aug 12, 2002
41
0
0
GB
Hi !

I am having a problem in declaring a class which is Transactional as also Serializable

I know if you want to Serialize a class you need to write something like :-
<Serializable()> _
Public Class DataFetch()

And a Transactionl Class as :-

<Transaction(TransactionOption.Required)> _
Public Class TxManagement
Inherits System.EnterpriseServices.ServicedComponent

And also Include the respective namespaces.

But what if I have to Serialize a Transactional Class ? Can I serialize it ? If yes can you please give me the Syntax for doing so.

Regards n Thanks,
Vikas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top