| SerializationConfigSetPortableVersion Method |
Sets the version of portable classes
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax public virtual SerializationConfig SetPortableVersion(
int portableVersion
)
Public Overridable Function SetPortableVersion (
portableVersion As Integer
) As SerializationConfig
public:
virtual SerializationConfig^ SetPortableVersion(
int portableVersion
)
abstract SetPortableVersion :
portableVersion : int -> SerializationConfig
override SetPortableVersion :
portableVersion : int -> SerializationConfig
Parameters
- portableVersion
- Type: SystemInt32
version of portable classes
Return Value
Type:
SerializationConfigconfigured
SerializationConfig for chaining
Exceptions Exception | Condition |
---|
ArgumentException | if portableVersion is less than 0 |
See Also