MethodName Property
Collapse the table of content
Expand the table of content

ServiceKnownTypeAttribute.MethodName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the name of a method that returns the collection of known types.

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

public string MethodName { get; }

Property Value

Type: System.String
The name of the method that returns the known types.

The MethodName must be the name of a method on the type specified by the DeclaringType property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft