-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Clouds
Message 4 in Discussion




Hi Sarvana 
!

I dont think its a 
problem with the component code.. since its getting registered on Win2K 
professional and Server

Here is the code 
sample..

 

using System;

using 
System.Collections;

using 
System.EnterpriseServices;

using 
System.Runtime.CompilerServices;

using 
System.Reflection;

// Supply the COM+ application name.

[assembly: ApplicationName("DTCComponent")]

// Supply a strong-named assembly.

[assembly: 
AssemblyKeyFileAttribute("X:\\DTCComponent.snk")]

[assembly: ApplicationAccessControl(Authentication = 
AuthenticationOption.None)]

 

namespace TransactionLib

{

/// <summary>

/// Summary 
description for MyDTC.

/// </summary>

[Transaction(TransactionOption.Required,Timeout=54000)]

public class MyDTC:ServicedComponent

{

public delegate void DTCOperation(object fObj);

public delegate void DTCOperationNoParam();

public MyDTC()

{

//

// TODO: Add constructor logic 
here

//

}

[AutoComplete] 

public void Run(DTCOperation fOperation, 
object fObj)

{

//return

fOperation(fObj);

}

[AutoComplete] 

public void Run(DTCOperationNoParam 
fOperation)

{

//return

fOperation();

}

}

}

 

 

Regards

Badal

 

  -----Original Message-----
From: Saravana 
  [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 9:15 
  AM
To: BDOTNET
Subject: Re: Registering Serviced 
  Components on XP .. any clues !


  
    
      
      New Message on BDOTNET
    
      

  Registering Serviced Components on XP .. any clues 
    !


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 3 in 
                Discussion 
      
        
          
            
            
              From: Saravana 
            
              

                hi,
                 
                Its is very much possible to register a serviced component 
                in XP. Can you send your code, so that it will easier to find 
                out the problem I think some attribute is not declared properly. 
                
                 
                -Saravana
                www.extremeexperts.com
                 
View other groups in this 
    category. 



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. 
Before opening attachments please check them for viruses and defects. MindTree 
Consulting Private Limited (MindTree) will not be responsible for any viruses or 
defects or any forwarded attachments emanating either from within MindTree or outside. 
If you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or dissemination 
of this message in whole or in part is strictly prohibited.  Please note that e-mails 
are susceptible to change and MindTree shall not be liable for any improper, untimely 
or incomplete transmission.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to