ClientCallableMethodAttribute class

SharePoint 2013

Exposes a method as client-callable.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.ServerRuntime (in Microsoft.SharePoint.Client.ServerRuntime.dll)

[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple = false)]
public class ClientCallableMethodAttribute : ClientCallableMemberAttribute

If the method does not need to be customized, use the ClientCallableAttribute() constructor. Otherwise, use the ClientCallableMethodAttribute() constructor.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.