### YamlMime:JavaType uid: "com.azure.core.annotation.ServiceMethod" fullName: "com.azure.core.annotation.ServiceMethod" name: "ServiceMethod" nameWithType: "ServiceMethod" summary: "Annotation given to all service client methods that perform network operations." syntax: "public interface **ServiceMethod**
implements Annotation" methods: - uid: "com.azure.core.annotation.ServiceMethod.returns()" fullName: "com.azure.core.annotation.ServiceMethod.returns()" name: "returns()" nameWithType: "ServiceMethod.returns()" summary: "This represents the return type expected from this service method." modifiers: - "abstract" syntax: "public abstract ReturnType returns()" desc: "This represents the return type expected from this service method." returns: description: "the return type of the method annotated with " type: "" type: "interface" desc: "Annotation given to all service client methods that perform network operations. All methods with this annotation should be contained in class annotated with " implements: - "Annotation" metadata: {} package: "com.azure.core.annotation" artifact: com.azure:azure-core:1.54.0