[Serializable] |
For more information about using attributes, see the conceptual topic at MSDN: extendingmetadatausingattributes.
ctor #1 | Creates a new instance of the UrlAttribute class. |
Name (inherited) | Read-only See base class member description: System.Runtime.Remoting.Contexts.IContextProperty.Name Gets the name of the property under which it will be added to the context. |
TypeId (inherited from System.Attribute) |
Read-only See base class member description: System.Attribute.TypeId When implemented in a derived class, gets a unique identifier for this Attribute. |
UrlValue | Read-only Gets the URL value of the UrlAttribute. |
Equals | Overridden: Checks whether the specified object refers to the same URL as the current instance. |
Freeze (inherited) | See base class member description: System.Runtime.Remoting.Contexts.IContextProperty.Freeze Called when the context is frozen. |
GetHashCode | Overridden: Returns the hash value for the current UrlAttribute. |
GetPropertiesForNewContext | Overridden: Forces the creation of the context and the server object inside the context at the specified URL. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
IsContextOK | Overridden: Returns a Boolean value indicating whether the specified Context meets UrlAttribute 's requirements. |
IsDefaultAttribute (inherited from System.Attribute) |
See base class member description: System.Attribute.IsDefaultAttribute When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class. |
IsNewContextOK (inherited) | See base class member description: System.Runtime.Remoting.Contexts.IContextProperty.IsNewContextOK Returns a Boolean value indicating whether the context property is OK with the new context. |
Match (inherited from System.Attribute) |
See base class member description: System.Attribute.Match When overridden in a derived class, returns a value indicating whether this instance equals a specified object. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
AttributeName (inherited) | This member is inherited from a type or implements a member of an interface which internally supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public UrlAttribute( |
callsiteURL
Exception Type | Condition |
---|---|
ArgumentNullException | The callsiteURL parameter is null. |
string Name {get;}
|
public virtual object TypeId {get;}
|
public string UrlValue {get;}
|
o
~UrlAttribute(); |
void Freeze( |
newContext
public override int GetHashCode(); |
public override void GetPropertiesForNewContext( |
ctorMsg
public Type GetType(); |
public override bool IsContextOK( |
ctx
msg
public virtual bool IsDefaultAttribute(); |
The implementation of this method in a derived class compares the value of this instance to a standard, default value obtained by some means, then returns a Boolean value that indicates whether the value of this instance is equal to the standard. The standard value is typically coded as a constant in the implementation, or stored programmatically in a field used by the implementation.
newCtx
obj
protected object MemberwiseClone(); |
public virtual string ToString(); |