public override string ToString()
{
string str = "SynchronizationContextReference : ";
if (refType == SynchronizeContextReferenceType.Key)
{
str += string.Format("key = {0}", ComponentKey);
}
else
{
str += string.Format("service = {0}", ServiceType.FullName);
}
return str;
}
}