Export (0) Print
Expand All

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)

[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=false)] 
public sealed class AspNetDevelopmentServerHostAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=false) */ 
public final class AspNetDevelopmentServerHostAttribute extends Attribute
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.

Community Additions

ADD
Show:
© 2014 Microsoft