ServiceKnownTypeAttribute Constructor (String, Type)
Collapse the table of content
Expand the table of content

ServiceKnownTypeAttribute Constructor (String, Type)

[ 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 with the name of a method that returns the known types and the type that contains the method (or methods) that returns the known types.

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

'Declaration
Public Sub New ( _
	methodName As String, _
	declaringType As Type _
)

Parameters

methodName
Type: System.String
The name of a method that returns the known types.
declaringType
Type: System.Type
The type that can use the known types in its object graph.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft