Export (0) Print
Expand All

UrlAttribute Class

Defines an attribute that can be used at the call site to specify the URL where the activation will happen. This class cannot be inherited.

For a list of all members of this type, see UrlAttribute Members.

System.Object
   System.Attribute
      System.Runtime.Remoting.Contexts.ContextAttribute
         System.Runtime.Remoting.Activation.UrlAttribute

[Visual Basic]
<Serializable>
NotInheritable Public Class UrlAttribute
   Inherits ContextAttribute
[C#]
[Serializable]
public sealed class UrlAttribute : ContextAttribute
[C++]
[Serializable]
public __gc __sealed class UrlAttribute : public ContextAttribute
[JScript]
public
   Serializable
class UrlAttribute extends ContextAttribute

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.

Remarks

The UrlAttribute is passed in the activation attributes array as a parameter to Activator.CreateInstance when creating activated objects with the CreateInstance method.

For more information about using attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: System.Runtime.Remoting.Activation

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

UrlAttribute Members | System.Runtime.Remoting.Activation Namespace | ContextAttribute | IContextProperty

Show:
© 2014 Microsoft