-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ScopeElementCollection.xml
126 lines (122 loc) · 7.19 KB
/
ScopeElementCollection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<Type Name="ScopeElementCollection" FullName="System.ServiceModel.Discovery.Configuration.ScopeElementCollection">
<TypeSignature Language="C#" Value="public sealed class ScopeElementCollection : System.ServiceModel.Configuration.ServiceModelConfigurationElementCollection<System.ServiceModel.Discovery.Configuration.ScopeElement>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ScopeElementCollection extends System.ServiceModel.Configuration.ServiceModelConfigurationElementCollection`1<class System.ServiceModel.Discovery.Configuration.ScopeElement>" />
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Discovery.Configuration.ScopeElementCollection" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class ScopeElementCollection
Inherits ServiceModelConfigurationElementCollection(Of ScopeElement)" />
<TypeSignature Language="F#" Value="type ScopeElementCollection = class
 inherit ServiceModelConfigurationElementCollection<ScopeElement>" />
<TypeSignature Language="C++ CLI" Value="public ref class ScopeElementCollection sealed : System::ServiceModel::Configuration::ServiceModelConfigurationElementCollection<System::ServiceModel::Discovery::Configuration::ScopeElement ^>" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Discovery</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ServiceModel.Configuration.ServiceModelConfigurationElementCollection<System.ServiceModel.Discovery.Configuration.ScopeElement></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="!0">System.ServiceModel.Discovery.Configuration.ScopeElement</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Discovery.Configuration.ScopeElement))]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Discovery.Configuration.ScopeElement))>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A configuration element that contains a collection of scope elements.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following example shows how to add two scope URIs for an endpoint.
```
<configuration>
<system.serviceModel>
<services>
<service name="Microsoft.Samples.Discovery.CalculatorService"
behaviorConfiguration="calculatorServiceBehavior">
<endpoint address=""
binding="wsHttpBinding"
contract="Microsoft.Samples.Discovery.ICalculatorService"
behaviorConfiguration="ep1Behavior" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="calculatorServiceBehavior">
<serviceDiscovery />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="ep1Behavior">
<endpointDiscovery>
<scopes>
<add scope="http://www.mycalculator.com"/>
<add scope="ldap:///ou=engineering,o=exampleorg,c=us"/>
</scopes>
</endpointDiscovery>
</behavior>
</endpointBehaviors>
</behaviors>
<extensions>
<behaviorExtensions>
<add name="serviceDiscovery" type="System.ServiceModel.Discovery.Configuration.ServiceDiscoveryElement, System.WorkflowServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="endpointDiscovery" type="System.ServiceModel.Discovery.Configuration.EndpointDiscoveryElement, System.WorkflowServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</behaviorExtensions>
</extensions>
</system.serviceModel>
</configuration>
```
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ScopeElementCollection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Discovery.Configuration.ScopeElementCollection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ScopeElementCollection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Discovery</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Creates a new instance of the <see cref="M:System.ServiceModel.Discovery.Configuration.ScopeElementCollection.#ctor" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetElementKey">
<MemberSignature Language="C#" Value="protected override object GetElementKey (System.Configuration.ConfigurationElement element);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance object GetElementKey(class System.Configuration.ConfigurationElement element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Discovery.Configuration.ScopeElementCollection.GetElementKey(System.Configuration.ConfigurationElement)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function GetElementKey (element As ConfigurationElement) As Object" />
<MemberSignature Language="F#" Value="override this.GetElementKey : System.Configuration.ConfigurationElement -> obj" Usage="scopeElementCollection.GetElementKey element" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Object ^ GetElementKey(System::Configuration::ConfigurationElement ^ element);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Discovery</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Configuration.ConfigurationElement" />
</Parameters>
<Docs>
<param name="element">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>