UrlAttribute 成员

定义可在调用站点上用于指定将发生激活的 URL 的属性。无法继承此类。

下表列出了由 UrlAttribute 类型公开的成员。

公共构造函数

  名称 说明
Public method UrlAttribute 创建 UrlAttribute 类的新实例。

页首

公共属性

  名称 说明
Public property Name  获取上下文属性的名称。(从 ContextAttribute 继承。)
Public property TypeId  当在派生类中实现时,获取该 Attribute 的唯一标识符。(从 Attribute 继承。)
Public property UrlValue 获取 UrlAttribute 的 URL 值。

页首

公共方法

  名称 说明
Public method Equals 已重载。 已重写。 
Public method Freeze  当上下文冻结时调用。 (从 ContextAttribute 继承。)
Public method Static GetCustomAttribute  已重载。 检索应用于程序集、模块、类型成员或方法参数的指定类型的自定义属性。 (从 Attribute 继承。)
Public method Static GetCustomAttributes  已重载。 检索应用于程序集、模块、类型成员或方法参数的自定义属性的数组。 (从 Attribute 继承。)
Public method GetHashCode 已重写。 返回当前 UrlAttribute 的哈希值。
Public method GetPropertiesForNewContext 已重写。 强制在指定 URL 处的上下文内创建上下文和服务器对象。
Public method GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method IsContextOK 已重写。 返回一个布尔值,该值指示指定的 Context 是否满足 UrlAttribute 的要求。
Public method IsDefaultAttribute  当在派生类中重写时,指示此实例的值是否是派生类的默认值。 (从 Attribute 继承。)
Public method Static IsDefined  已重载。 确定是否将指定类型的任意自定义属性应用于程序集、模块、类型成员或方法参数。 (从 Attribute 继承。)
Public method IsNewContextOK  返回一个指示上下文属性是否与新上下文兼容的布尔值。 (从 ContextAttribute 继承。)
Public method Match  当在派生类中重写时,返回一个指示此实例是否等于指定对象的值。 (从 Attribute 继承。)
Public method Static ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

请参见

参考

UrlAttribute 类
System.Runtime.Remoting.Activation 命名空间
ContextAttribute
IContextProperty