ActorTypeInformation.Get(Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un ActorTypeInformation à partir de actorType.
public static Microsoft.ServiceFabric.Actors.Runtime.ActorTypeInformation Get (Type actorType);
static member Get : Type -> Microsoft.ServiceFabric.Actors.Runtime.ActorTypeInformation
Public Shared Function Get (actorType As Type) As ActorTypeInformation
Paramètres
- actorType
- Type
Type de classe implémentant l’acteur pour lequel créer ActorTypeInforamtion.
Retours
ActorTypeInformation créé à partir de actorType.
Exceptions
Quand BaseType pour actorType n’est pas de type Actor.
Quand actorType n’implémente pas d’interface dérivant de IActor et n’est pas marqué comme abstrait.
Quand actorType implémente plusieurs interface qui dérive de IActor mais n’a ActorServiceAttributepas .
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour