ActorTypeInformation.Get(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an ActorTypeInformation from 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
Parameters
- actorType
- Type
The type of class implementing the actor to create ActorTypeInforamtion for.
Returns
ActorTypeInformation created from actorType.
Exceptions
When BaseType for actorType is not of type Actor.
When actorType does not implement an interface deriving from IActor and is not marked as abstract.
When actorType implements more than one interface which derives from IActor but doesn't have ActorServiceAttribute.
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin