ServiceTypeInformation.TryGet(Type, ServiceTypeInformation) 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.
Gets the Factory method that constructs a ServiceTypeInformation object from the given type.
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
Parameters
- serviceType
- Type
Type to examine
- serviceTypeInformation
- ServiceTypeInformation
The constructed ServiceTypeInformation
Returns
true if the specified serviceType is a service, false otherwise
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET