Partilhar via


ServiceTypeInformation.TryGet(Type, ServiceTypeInformation) Método

Definição

Obtém o método Factory que constrói um objeto ServiceTypeInformation do tipo fornecido.

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

Digite para examinar

serviceTypeInformation
ServiceTypeInformation

O ServiceTypeInformation construído

Retornos

true se o serviceType especificado for um serviço, caso contrário, false

Aplica-se a