1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="UrlAttribute" FullName="System.Runtime.Remoting.Activation.UrlAttribute">
3  <TypeSignature Maintainer="auto" Language="C#" Value="public sealed class UrlAttribute : System.Runtime.Remoting.Contexts.ContextAttribute" />
4  <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit UrlAttribute extends System.Runtime.Remoting.Contexts.ContextAttribute" />
5  <AssemblyInfo>
6    <AssemblyName>mscorlib</AssemblyName>
7    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9    <AssemblyVersion>2.0.0.0</AssemblyVersion>
10    <AssemblyVersion>4.0.0.0</AssemblyVersion>
11  </AssemblyInfo>
12  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
13  <Base>
14    <BaseTypeName>System.Runtime.Remoting.Contexts.ContextAttribute</BaseTypeName>
15  </Base>
16  <Interfaces>
17  </Interfaces>
18  <Attributes>
19    <Attribute>
20      <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
21    </Attribute>
22  </Attributes>
23  <Docs>
24    <remarks>
25      <attribution license="cc4" from="Microsoft" modified="false" />
26      <para>The <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> is passed in the activation attributes array as a parameter to <see cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" /> when creating activated objects with the <see cref="M:System.Activator.CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" /> method.</para>
27      <para>For more information about using attributes, see <format type="text/html"><a href="30386922-1E00-4602-9EBF-526B271A8B87">[&lt;topic://cpconExtendingMetadataUsingAttributes&gt;]</a></format>.</para>
28    </remarks>
29    <summary>
30      <attribution license="cc4" from="Microsoft" modified="false" />
31      <para>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.</para>
32    </summary>
33  </Docs>
34  <Members>
35    <Member MemberName=".ctor">
36      <MemberSignature Language="C#" Value="public UrlAttribute (string callsiteURL);" />
37      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string callsiteURL) cil managed" />
38      <MemberType>Constructor</MemberType>
39      <AssemblyInfo>
40        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
41        <AssemblyVersion>2.0.0.0</AssemblyVersion>
42        <AssemblyVersion>4.0.0.0</AssemblyVersion>
43      </AssemblyInfo>
44      <ReturnValue />
45      <Parameters>
46        <Parameter Name="callsiteURL" Type="System.String" />
47      </Parameters>
48      <Docs>
49        <remarks>To be added</remarks>
50        <summary>
51          <attribution license="cc4" from="Microsoft" modified="false" />
52          <para>Creates a new instance of the <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> class.</para>
53        </summary>
54        <param name="callsiteURL">
55          <attribution license="cc4" from="Microsoft" modified="false" />The call site URL. </param>
56      </Docs>
57    </Member>
58    <Member MemberName="Equals">
59      <MemberSignature Language="C#" Value="public override bool Equals (object o);" />
60      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object o) cil managed" />
61      <MemberType>Method</MemberType>
62      <AssemblyInfo>
63        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
64        <AssemblyVersion>2.0.0.0</AssemblyVersion>
65        <AssemblyVersion>4.0.0.0</AssemblyVersion>
66      </AssemblyInfo>
67      <ReturnValue>
68        <ReturnType>System.Boolean</ReturnType>
69      </ReturnValue>
70      <Parameters>
71        <Parameter Name="o" Type="System.Object" />
72      </Parameters>
73      <Docs>
74        <remarks>
75          <attribution license="cc4" from="Microsoft" modified="false" />
76          <para>This method overrides the default <see cref="M:System.Object.Equals(System.Object)" /> method.</para>
77        </remarks>
78        <summary>
79          <attribution license="cc4" from="Microsoft" modified="false" />
80          <para>Checks whether the specified object refers to the same URL as the current instance.</para>
81        </summary>
82        <returns>
83          <attribution license="cc4" from="Microsoft" modified="false" />
84          <para>true if the object is a <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" /> with the same value; otherwise, false.</para>
85        </returns>
86        <param name="o">
87          <attribution license="cc4" from="Microsoft" modified="false" />The object to compare to the current <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" />. </param>
88      </Docs>
89    </Member>
90    <Member MemberName="GetHashCode">
91      <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
92      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
93      <MemberType>Method</MemberType>
94      <AssemblyInfo>
95        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
96        <AssemblyVersion>2.0.0.0</AssemblyVersion>
97        <AssemblyVersion>4.0.0.0</AssemblyVersion>
98      </AssemblyInfo>
99      <ReturnValue>
100        <ReturnType>System.Int32</ReturnType>
101      </ReturnValue>
102      <Parameters />
103      <Docs>
104        <remarks>To be added.</remarks>
105        <summary>
106          <attribution license="cc4" from="Microsoft" modified="false" />
107          <para>Returns the hash value for the current <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" />.</para>
108        </summary>
109        <returns>
110          <attribution license="cc4" from="Microsoft" modified="false" />
111          <para>The hash value for the current <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" />.</para>
112        </returns>
113      </Docs>
114    </Member>
115    <Member MemberName="GetPropertiesForNewContext">
116      <MemberSignature Language="C#" Value="public override void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);" />
117      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void GetPropertiesForNewContext(class System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg) cil managed" />
118      <MemberType>Method</MemberType>
119      <AssemblyInfo>
120        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
121        <AssemblyVersion>2.0.0.0</AssemblyVersion>
122        <AssemblyVersion>4.0.0.0</AssemblyVersion>
123      </AssemblyInfo>
124      <Attributes>
125        <Attribute>
126          <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
127        </Attribute>
128      </Attributes>
129      <ReturnValue>
130        <ReturnType>System.Void</ReturnType>
131      </ReturnValue>
132      <Parameters>
133        <Parameter Name="ctorMsg" Type="System.Runtime.Remoting.Activation.IConstructionCallMessage" />
134      </Parameters>
135      <Docs>
136        <remarks>
137          <attribution license="cc4" from="Microsoft" modified="false" />
138          <para>
139            <see cref="M:System.Runtime.Remoting.Activation.UrlAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)" /> does not contribute any properties to the new context because it is used by the remoting infrastructure to force the creation of the context and the server object inside the context at the specified URL.</para>
140        </remarks>
141        <summary>
142          <attribution license="cc4" from="Microsoft" modified="false" />
143          <para>Forces the creation of the context and the server object inside the context at the specified URL.</para>
144        </summary>
145        <param name="ctorMsg">
146          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" /> of the server object to create. </param>
147      </Docs>
148    </Member>
149    <Member MemberName="IsContextOK">
150      <MemberSignature Language="C#" Value="public override bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);" />
151      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsContextOK(class System.Runtime.Remoting.Contexts.Context ctx, class System.Runtime.Remoting.Activation.IConstructionCallMessage msg) cil managed" />
152      <MemberType>Method</MemberType>
153      <AssemblyInfo>
154        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
155        <AssemblyVersion>2.0.0.0</AssemblyVersion>
156        <AssemblyVersion>4.0.0.0</AssemblyVersion>
157      </AssemblyInfo>
158      <Attributes>
159        <Attribute>
160          <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
161        </Attribute>
162      </Attributes>
163      <ReturnValue>
164        <ReturnType>System.Boolean</ReturnType>
165      </ReturnValue>
166      <Parameters>
167        <Parameter Name="ctx" Type="System.Runtime.Remoting.Contexts.Context" />
168        <Parameter Name="msg" Type="System.Runtime.Remoting.Activation.IConstructionCallMessage" />
169      </Parameters>
170      <Docs>
171        <remarks>To be added.</remarks>
172        <summary>
173          <attribution license="cc4" from="Microsoft" modified="false" />
174          <para>Returns a Boolean value that indicates whether the specified <see cref="T:System.Runtime.Remoting.Contexts.Context" /> meets <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" />'s requirements.</para>
175        </summary>
176        <returns>
177          <attribution license="cc4" from="Microsoft" modified="false" />
178          <para>true if the passed-in context is acceptable; otherwise, false.</para>
179        </returns>
180        <param name="ctx">
181          <attribution license="cc4" from="Microsoft" modified="false" />The context to check against the current context attribute. </param>
182        <param name="msg">
183          <attribution license="cc4" from="Microsoft" modified="false" />The construction call, the parameters of which need to be checked against the current context. </param>
184      </Docs>
185    </Member>
186    <Member MemberName="UrlValue">
187      <MemberSignature Language="C#" Value="public string UrlValue { get; }" />
188      <MemberSignature Language="ILAsm" Value=".property instance string UrlValue" />
189      <MemberType>Property</MemberType>
190      <AssemblyInfo>
191        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
192        <AssemblyVersion>2.0.0.0</AssemblyVersion>
193        <AssemblyVersion>4.0.0.0</AssemblyVersion>
194      </AssemblyInfo>
195      <ReturnValue>
196        <ReturnType>System.String</ReturnType>
197      </ReturnValue>
198      <Docs>
199        <value>To be added: an object of type 'string'</value>
200        <remarks>To be added</remarks>
201        <summary>
202          <attribution license="cc4" from="Microsoft" modified="false" />
203          <para>Gets the URL value of the <see cref="T:System.Runtime.Remoting.Activation.UrlAttribute" />.</para>
204        </summary>
205      </Docs>
206    </Member>
207  </Members>
208</Type>