Export (0) Print
Expand All

ContractNamespaceAttribute Constructor

Initializes a new instance of the ContractNamespaceAttribute class using the supplied namespace.

Namespace:  System.Runtime.Serialization
Assemblies:   System.Runtime.Serialization.Primitives (in System.Runtime.Serialization.Primitives.dll)
  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
ContractNamespaceAttribute(
	String^ contractNamespace
)

Parameters

contractNamespace
Type: System::String

The namespace of the contract.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft