Compartir a través de


ServiceTypeInformation.TryGet(Type, ServiceTypeInformation) Método

Definición

Obtiene el método Factory que construye un objeto ServiceTypeInformation a partir del tipo especificado.

public static bool TryGet(Type serviceType, out Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceTypeInformation serviceTypeInformation);
static member TryGet : Type * ServiceTypeInformation -> bool
Public Shared Function TryGet (serviceType As Type, ByRef serviceTypeInformation As ServiceTypeInformation) As Boolean

Parámetros

serviceType
Type

Tipo que se va a examinar

serviceTypeInformation
ServiceTypeInformation

ServiceTypeInformation construido

Devoluciones

true si el serviceType especificado es un servicio; de lo contrario, false

Se aplica a