Constructor CallerInfo
CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32)
Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
RuntimeTypeHandle | sourceTypeToken | |
String | methodName | |
String | file | |
Int32 | line | |
Int32 | column |
CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32, CallerAttributes)
Initializes a new CallerInfo, and uses as a RuntimeTypeHandle to specify the source type.
Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
RuntimeTypeHandle | sourceTypeToken | RuntimeTypeHandle of the calling type. |
String | methodName | Name of the calling method. |
String | file | Path of the source code of the calling code. |
Int32 | line | Line in |
Int32 | column | Column in |
CallerAttributes | attributes | Attributes. |
CallerInfo(Type, String, String, Int32, Int32)
Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
String | methodName | |
String | file | |
Int32 | line | |
Int32 | column |
CallerInfo(Type, String, String, Int32, Int32, CallerAttributes)
Initializes a new CallerInfo, and uses as a Type to specify the source type.
Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | Type of the calling type. |
String | methodName | Name of the calling method. |
String | file | Path of the source code of the calling code. |
Int32 | line | Line in |
Int32 | column | Column in |
CallerAttributes | attributes | Attributes. |