System::Net::Http::Headers::RetryConditionHeaderValue::TryParse 方法

RetryConditionHeaderValue::TryParse method

尝试将传入的字符串转换为 RetryConditionHeaderValue 类的实例。

static bool System::Net::Http::Headers::RetryConditionHeaderValue::TryParse(String input, System::SharedPtr<RetryConditionHeaderValue> &parsedValue)
ParameterType描述
输入字符串要解析的字符串。
parsedValueSystem::SharedPtr\<RetryConditionHeaderValue\>\&将分配已解析对象的实例。

ReturnValue

解析成功完成时为 true,否则为 false。

另见