Export (0) Print
Expand All

How to: Set the Application Name by Using the ApplicationName Attribute

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This example shows how to supply the application name by using the assembly-level ApplicationName attribute.

using System.EnterpriseServices;
[ assembly: ApplicationName("BankComponent")]
public class Account : ServicedComponent
{
   static void Main() 
{}
}

This example requires:

Show:
© 2015 Microsoft