ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::CanAdd Method (TServiceModelExtensionElement)
.NET Framework (current version)
Adds a new behavior element to this section and returns a value that indicates whether the operation is successful.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
TServiceModelExtensionElement
A ServiceModelExtensionElement to be added.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: