Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WCF Internal Types and Reflection

.NET Framework 4

This topic describes a set of internal WCF types that are instantiated and called using reflection by some Visual Studio tools.

Internal Types

 

Type Member Description

System.Runtime.Serialization.DataContractSet

N/A

Represents a set of DataContract types

System.Runtime.Serialization.DataContractSet

Static bool IsTypeReferenceable(Type type)

Determines whether a given type can be referenced as a DataContract type.

System.Runtime.Serialization.DataContract

N/A

Represents a DataContract type

System.Runtime.Serialization.DataContract

static XmlQualifiedName GetDefaultStableName(Type type)

Gets the default stable name of a DataContract type

System.Runtime.Serialization.DataContract

static XmlQualifiedName GetStableName(Type type)

Gets the stable name of a DataContract type

System.Runtime.Serialization.CollectionDataContract

N/A

Represents a DataContract type which is a collection

System.Runtime.Serialization.CollectionDataContract

static bool IsCollection(Type type)

Ensures that the provided DataContract type is an array

System.ServiceModel.Description.TypeLoader

N/A

Generates WCF metadata objects from user types

System.ServiceModel.Description.TypeLoader

public ContractDescription LoadContractDescription(Type contractType)

Returns the ContractDescription object which represents a given type

Calling API using Reflection

For more information about reflection, see Reflection Overview. For more information about dynamically loading and using types with reflection see, Loading and Using Type with .NET Reflection

Community Additions

ADD
Show:
© 2015 Microsoft