vikaskalra
Technical User
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 :-
(Syntax in VB.NET)
<Serializable()> _
Public Class DataFetch()
And a Transactionl Class as :-
(Syntax in VB.NET)
<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
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 :-
(Syntax in VB.NET)
<Serializable()> _
Public Class DataFetch()
And a Transactionl Class as :-
(Syntax in VB.NET)
<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