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)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False)> _
Public NotInheritable Class AspNetDevelopmentServerHostAttribute _
Inherits Attribute
'Usage
Dim instance As AspNetDevelopmentServerHostAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false)]
public sealed class AspNetDevelopmentServerHostAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false)]
public ref class AspNetDevelopmentServerHostAttribute sealed : public Attribute
public final class AspNetDevelopmentServerHostAttribute extends Attribute
Remarks
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.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.TestTools.UnitTesting.Web.AspNetDevelopmentServerHostAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
AspNetDevelopmentServerHostAttribute Members
Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace