azure-docs-sdk-java/docs-ref-autogen/com.azure.core.annotation.S...

28 строки
1.7 KiB
YAML

### 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**</br> implements <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
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 <xref uid=\"com.azure.core.annotation.ServiceMethod\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceMethod\"></xref>"
type: "<xref href=\"com.azure.core.annotation.ReturnType?alt=com.azure.core.annotation.ReturnType&text=ReturnType\" data-throw-if-not-resolved=\"False\" />"
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 <xref uid=\"com.azure.core.annotation.ServiceClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceClient\"></xref>"
implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
metadata: {}
package: "com.azure.core.annotation"
artifact: com.azure:azure-core:1.54.0