Click or drag to resize
PoolingManagementTReturnResource Method
返回资源

Namespace: X3Platform.Pooling
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public void ReturnResource(
	ref T message,
	long messageId
)

Parameters

message
Type: T
ref类型的参数,将在函数内部设为null,意味着返回后不能再用。
messageId
Type: SystemInt64
获取资源时得到的那个messageId。如果返回一个不正确的id,将抛出异常。
See Also