Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Team Test API
AspNetDevelopmentServerHostAttribute Class

Specifies the settings to use when an ASP.NET Development Server is the host server for the test. This is used for ASP.NET unit tests.

Namespace: Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple:=False)> _
Public NotInheritable Class AspNetDevelopmentServerHostAttribute
	Inherits Attribute
Visual Basic (Usage)
Dim instance As AspNetDevelopmentServerHostAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=false)] 
public sealed class AspNetDevelopmentServerHostAttribute : Attribute
C++
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple=false)] 
public ref class AspNetDevelopmentServerHostAttribute sealed : public Attribute
J#
/** @attribute AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=false) */ 
public final class AspNetDevelopmentServerHostAttribute extends Attribute
JScript
AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=false) 
public final class AspNetDevelopmentServerHostAttribute extends Attribute

This attribute targets methods. Only one instance of this attribute may be applied to a method.

For more information about how to use attributes, see Extending Metadata Using Attributes.

System.Object
   System.Attribute
    Microsoft.VisualStudio.TestTools.UnitTesting.Web.AspNetDevelopmentServerHostAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker