ExtensionCollection<T> Constructors

Definition

Initializes a new instance of the ExtensionCollection<T> class.

Overloads

ExtensionCollection<T>(T)

Initializes a new instance of the ExtensionCollection<T> class with a specified owner.

ExtensionCollection<T>(T, Object)

Initializes a new instance of the ExtensionCollection<T> class with a specified owner and synchronization root.

ExtensionCollection<T>(T)

Source:
ExtensionCollection.cs

Initializes a new instance of the ExtensionCollection<T> class with a specified owner.

public:
 ExtensionCollection(T owner);
public ExtensionCollection (T owner);
new System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)> : 'T -> System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)>
Public Sub New (owner As T)

Parameters

owner
T

The owner of the collection.

Applies to

ExtensionCollection<T>(T, Object)

Source:
ExtensionCollection.cs

Initializes a new instance of the ExtensionCollection<T> class with a specified owner and synchronization root.

public:
 ExtensionCollection(T owner, System::Object ^ syncRoot);
public ExtensionCollection (T owner, object syncRoot);
new System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)> : 'T * obj -> System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)>
Public Sub New (owner As T, syncRoot As Object)

Parameters

owner
T

The owner of the collection.

syncRoot
Object

The object used to synchronize.

Applies to