ServiceKnownTypeAttribute Constructor (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ServiceKnownTypeAttribute class and specifies the name of a method that returns the known types.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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.
Show: