Send.KnownTypes Property

.NET Framework (current version)

Gets a collection of the known types for the service operation to be called.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public Collection<Type> KnownTypes { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<Type>

A collection of known types.

This property should be used in conjunction with the DataContractSerializer. It is ignored if XmlSerializer has been selected as the serializer. For more information about known types, see Data Contract Known Types.

.NET Framework
Available since 4.0
Return to top