ServiceKnownTypeAttribute Constructor (String^)

 

Initializes a new instance of the ServiceKnownTypeAttribute class and specifies the name of a method that returns the known types.

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

public:
ServiceKnownTypeAttribute(
	String^ methodName
)

Parameters

methodName
Type: System::String^

The name of a method that returns the known types.

Use this constructor when applying the ServiceKnownTypeAttribute to a class that contains methods that return known types.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: