SecurityTokenHandlerCollection.CanReadToken 메서드
정의
컬렉션의 처리기 중 하나에서 지정한 토큰을 읽을 수 있는지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether a specified token can be read by one of the handlers in the collection.
오버로드
CanReadToken(String) |
이 컬렉션의 처리기 중 하나에서 지정한 토큰의 문자열 표현을 읽을 수 있는지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether the specified string representation of a token can be read by one of the handlers in this collection. |
CanReadToken(XmlReader) |
이 컬렉션의 처리기 중 하나에서 지정한 토큰을 읽을 수 있는지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether the specified token can be read by one of the handlers in this collection. |
CanReadToken(String)
이 컬렉션의 처리기 중 하나에서 지정한 토큰의 문자열 표현을 읽을 수 있는지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether the specified string representation of a token can be read by one of the handlers in this collection.
public:
bool CanReadToken(System::String ^ tokenString);
public bool CanReadToken (string tokenString);
member this.CanReadToken : string -> bool
Public Function CanReadToken (tokenString As String) As Boolean
매개 변수
- tokenString
- String
문자열로 표시되는 문자열입니다.The token represented as a string.
반환
이 컬렉션에 지정된 토큰을 읽을 수 있는 토큰 처리기가 있으면 true
이고, 그렇지 않으면 false
입니다.true
if the collection contains a token handler that can read the specified token; otherwise false
.
예외
tokenString
이 null
또는 빈 문자열인 경우tokenString
is null
or an empty string.
설명
메서드를 호출 하는 SecurityTokenHandler.CanReadToken(String) 토큰 처리기 메서드 (SecurityTokenHandler) 토큰을 읽을 수 있는지 여부를 확인 하려면 컬렉션에서.The method invokes the SecurityTokenHandler.CanReadToken(String) method on the token handlers (SecurityTokenHandler) in the collection to determine whether the token can be read.
CanReadToken(XmlReader)
이 컬렉션의 처리기 중 하나에서 지정한 토큰을 읽을 수 있는지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether the specified token can be read by one of the handlers in this collection.
public:
bool CanReadToken(System::Xml::XmlReader ^ reader);
public bool CanReadToken (System.Xml.XmlReader reader);
member this.CanReadToken : System.Xml.XmlReader -> bool
Public Function CanReadToken (reader As XmlReader) As Boolean
매개 변수
- reader
- XmlReader
시작 요소에 배치된 XML 판독기입니다.An XML reader positioned at the start element. 판독기를 이동해서는 안 됩니다.The reader should not be advanced.
반환
토큰을 읽을 수 있으면 true
이고, 그렇지 않으면 false
입니다.true
if the token can be read; otherwise false
.