Creates and returns a StatisticsType with the given name, description,and StatisticDescriptor

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.4.0

Syntax

C#
public StatisticsType CreateType(
	string name,
	string description,
	StatisticDescriptor[] stats,
	int statsLength
)
Visual Basic (Declaration)
Public Function CreateType ( _
	name As String, _
	description As String, _
	stats As StatisticDescriptor(), _
	statsLength As Integer _
) As StatisticsType
Visual C++
public:
virtual StatisticsType^ CreateType (
	String^ name, 
	String^ description, 
	array<StatisticDescriptor^>^ stats, 
	int statsLength
) sealed

Parameters

name
String
description
String
stats
array<StatisticDescriptor>[]()
statsLength
Int32

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException if a type with the given name already exists.

See Also